Comments (9)
@progapandist can we make a release with the last changes that solve this issue so we can close it?
from wait-on-check-action.
I'll take a look into this, thanks for reporting!
from wait-on-check-action.
If you want to give it a try (I think having an allow_skipped
flag and enabling it by default is the best UX here) and make a PR — we now have a nice test coverage by @matiasalbarello, and the "test" actions in this repo. Just LMK, if not — I'll take care of it myself when my hands a less full.
from wait-on-check-action.
@progapandist what about the case where I got to like do the following:
- pull request build succeeds.
- pull request executes another workflow (automerge)
- pull request also executes another job in the build workflow (which should wait till the automerge workflow in the pull request succeeds and merge the pull request before doing anything in that job (this job checks for updates with
git submodule update --remote
then uses the create-pull-request action to create another pull request).
Currently without this it is possible to then notice it open double pull requests for the same exact changes it generates.
from wait-on-check-action.
Sorry, closed by mistake.
from wait-on-check-action.
Sure! Can you please draft a quick CHANGELOG to describe everything we added since the last release and then I will bump it? Then we can keep adding to that CHANGELOG when/if we add more features. Let's call this one 0.3
from wait-on-check-action.
Hi, thanks for this github action, it's very useful.
What exactly qualifies as a 'skipped check' ? Because I have a check in a migration workflow that sometimes isn't triggered in the run (because there is no new migration) and the wait on this check in other workflows breaks with "The requested check was never run against this ref, exiting..." although I am on the master branch and it says it's checking on the "success,skipped" checks.
Is this possible to continue when the check was not even found in the run ?
from wait-on-check-action.
@Billy- — you are the feature author, anything to add?
from wait-on-check-action.
Hi, thanks for this github action, it's very useful.
What exactly qualifies as a 'skipped check' ? Because I have a check in a migration workflow that sometimes isn't triggered in the run (because there is no new migration) and the wait on this check in other workflows breaks with "The requested check was never run against this ref, exiting..." although I am on the master branch and it says it's checking on the "success,skipped" checks.Is this possible to continue when the check was not even found in the run?
Hi @emmanuelvisage. Here you can find an example of a skipped job: https://github.com/lewagon/wait-on-check-action/blob/master/.github/workflows/wait-for-allowed-conclusions.yml
So, a skipped job actually has run (at least it belongs to a workflow triggered by some event) but finished with a status of skipped
.
If the workflow is not triggered (as you mentioned, for example, because a certain event didn't occur), and this action was configured to wait for it, it will fail as expected. There's no way to know if the action that didn't run was supposed to run or not.
If you omit the check-name, it will wait for all actions to run. If the workflow doesn't run, it would not wait for that one.
Hope it helps and please don't hesitate to write me back if something is not yet clear.
from wait-on-check-action.
Related Issues (20)
- Error: The environment variable ImageOS must be set ruby/setup-ruby action HOT 4
- How to use this action to pause a job until the same job in previous workflow runs finished? HOT 1
- This check is only supported in Linux not macos HOT 3
- [Bug] Crash when API limit is reached HOT 4
- What permissions do the GitHub Actions need? HOT 1
- Feature: Support for GHE
- not able to trigger workflow in another repo HOT 2
- Support for MacOS HOT 2
- Repo key is required from v1.0.0 HOT 1
- Requested check never run against ref HOT 6
- running-workflow-name does not work consistently HOT 1
- Wait on all jobs by omitting running-workflow-name not working for amplify check hook HOT 3
- Deprecation warnings from dependencies? HOT 2
- Missing External Checks Statuses HOT 1
- Not working with containers HOT 1
- 🙋♂️🙋♀️ Contributors Wanted HOT 4
- Can't find `action.yml` HOT 2
- When multiple runs exist for the same head, the action should consider only the latest HOT 4
- Question: How do I use it from workflows executed in schedule
- Fails on summerwind/actions-runner:v2.304.0-ubuntu-22.04-41ebb43 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wait-on-check-action.