-
-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
I am trying to use wait-for-status to prevent our staging environment from being updated until the images are built using this Git Action snippet
jobs:
update-staging:
name: Update Staging
runs-on: ubuntu-latest
steps:
- name: Wait for images to be built
id: waitforstatuschecks
uses: "WyriHaximus/[email protected]"
with:
ignoreActions: "Update Staging"
- name: Deploy to staging
if: steps.waitforstatuschecks.outputs.status == 'success'
run: echo "Deploying to staging..."
In the GitHub Actions output, after some time I see: All checks completed, marking resolve and success
immediately followed by Checking statuses
, Statuses are pending
and the Deploy to staging
step never runs. How do I prevent the workflow from returning to Checking status
?
[2024-04-10 19:30:54.817157] wait.NOTICE: Checking statuses
[2024-04-10 19:30:55.048248] wait.WARNING: Statuses are pending
[2024-04-10 19:30:55.188002] wait.DEBUG: Iterating over 4 check(s)
[2024-04-10 19:30:55.188061] wait.DEBUG: Check "Checklist" has the following status "completed" and conclusion "success"
[2024-04-10 19:30:55.188078] wait.DEBUG: Check "Checklist" has the following status "completed" and conclusion "success"
[2024-04-10 19:30:55.188090] wait.DEBUG: Check "Static Analysis" has the following status "completed" and conclusion "success"
[2024-04-10 19:30:55.188100] wait.DEBUG: Check "build" has the following status "completed" and conclusion "success"
[2024-04-10 19:30:55.188111] wait.DEBUG: **All checks completed, marking resolve and success**
[2024-04-10 19:30:55.508643] wait.DEBUG: Rate limit (remaining/limit/reset): 14442/15000/2024-04-10T20:04:14.000+00:00
[2024-04-10 19:31:04.817075] wait.NOTICE: Checking statuses
[2024-04-10 19:31:05.072063] wait.WARNING: Statuses are pending
Metadata
Metadata
Assignees
Labels
No labels