Adding cache steps makes two skipped checks wait indefinitely.
Hello,
As the image shows, I am skipping two PR checks when they are not needed. Without cache actions in my steps, the two checks are skipped and I can merge (even if they are required). When I add cache actions and job runs again, it shows the two skipped steps, but then two duplicates of those skipped steps get added and PR waits forever for them.
👋 Hey @blane1988, could you share your workflow file?
I would not expect the cache action to change the checks reported for a workflow.
Hi @joshmgross , thanks for the response.
Here is the flow. The same PR has been stuck waiting for results for a couple days (just wanted to see if anything would eventually happen). And then when I open a PR with a workflow that doesn't have caching steps included, the checks pass (or are skipped) and then I can merge.
The last two checks (ios-unit-tests and android-build-test) are the ones that can be skipped, and those are the ones that are stuck waiting for check results. These two jobs depend on the job above them (native-files-check).
And just FYI, here is what a PR looks like if I remove caching:

Thanks for the extra info.
In the first screenshot, you can see that the jobs still run with caching, but they don't match the expected names of the required checks.
Since the required check names are capitalized ("iOS Unit Tests"), could you update your caching workflow to make sure those names match the correct casing?
ios-unit-tests:
- name: iOS unit tests
+ name: iOS Unit Tests
needs: native-files-check
if: needs.native-files-check.outputs.run_ios_job == 'true'
runs-on: macos-latest
android-build-test:
- name: Android debug build
+ name: Android Debug Build
needs: native-files-check
if: needs.native-files-check.outputs.run_android_job == 'true'
runs-on: ubuntu-latest
Thanks @joshmgross, that was the ticket!