-
Notifications
You must be signed in to change notification settings - Fork 60.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add more details about workflow_run #531
Conversation
* need to exists on default branch * run only on it
Thanks for opening this pull request! A GitHub docs team member should be by to give feedback soon. In the meantime, please check out the contributing guidelines. |
Thanks for opening a PR @programmer04! I'll get this triaged and up for review ⚡ |
This PR is stale because it has been open 7 days with no activity and will be automatically closed in 3 days. To keep this PR open, update the PR by adding a comment or pushing a commit. |
Sorry about the delay @programmer04! This is definitely not stale 🙃 we're a small team working through lots of amazing Hacktoberfest PRs. Thank you for your patience 💖 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@programmer04 thank you for the docs update!! 🙌 Your change actually uncovered a larger bug in this section of the docs. This section doesn't include the table that describes which commit and reference are used when running the workflow. Instead of adding the information to the description, I've suggested adding the missing table.
Hi guys, |
Co-authored-by: Rachael Sewell <rachmari@github.com>
Thanks, @rachmari for your suggestions I've applied them. 🙂 Moreover, maybe you can pass a feature request to the team in GH taking care of On branch |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@programmer04 thank you so much for getting this updated! 🙌 This looks great. I'll get it merged right away! 🚢
I've also created an internal customer feedback issue to track your request:
Moreover, maybe you can pass a feature request to the team in GH taking care of workflow_run... Having a workflow_run which works in the way described below in my opinion would be useful too.
On branch feature-1 from some event, workflow-A is triggered. Next dependant workflow-B (which is triggered by successful finishing workflow-A by using workflow_run) instead of running on the default branch (current default and the only one behavior) can be specified to be run on a current branch in this case feature-1
Thanks very much for contributing! Your pull request has been merged 🎉 You should see your changes appear on the site in approximately 24 hours. |
This reverts commit c53304c. After experimenting with this release, we have found that the `workflow_run` action source doesn't work for branches. The documentation was updated with this PR and has more detail. github/docs#531 For now, we will revert back to using on.push.tags = ["v*"] Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
This reverts commit c53304c. After experimenting with this release, we have found that the `workflow_run` action source doesn't work for branches. The documentation was updated with this PR and has more detail. github/docs#531 For now, we will revert back to using on.push.tags = ["v*"] Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com> (cherry picked from commit 30e02c1)
This reverts commit c53304c. After experimenting with this release, we have found that the `workflow_run` action source doesn't work for branches. The documentation was updated with this PR and has more detail. github/docs#531 For now, we will revert back to using on.push.tags = ["v*"] Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
This reverts commit c53304c. After experimenting with this release, we have found that the `workflow_run` action source doesn't work for branches. The documentation was updated with this PR and has more detail. github/docs#531 For now, we will revert back to using on.push.tags = ["v*"] Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
Why:
Documentation about
workflow_run
does not contain very important info about its special behavior:run only on default branch regardless of whether it is triggered by a workflow run on other branches or not
has to exist on the default branch
This behavior was verified by me and described in community support - kudos to @BrightRan 🙂
What's being changed:
New info added
Check off the following: