Skip to content
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

Neither looks wrong and tags are expected, but it explain paths. #20478

Closed
1 task done
jinwookkk opened this issue Sep 8, 2022 · 2 comments
Closed
1 task done

Neither looks wrong and tags are expected, but it explain paths. #20478

jinwookkk opened this issue Sep 8, 2022 · 2 comments
Labels
content This issue or pull request belongs to the Docs Content team

Comments

@jinwookkk
Copy link

jinwookkk commented Sep 8, 2022

Code of Conduct

What article on docs.github.com is affected?

https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#onpushbranchestagsbranches-ignoretags-ignore

What part(s) of the article would you like to see updated?

Contents:
If you define only tags/tags-ignore or only branches/branches-ignore, the workflow won't run for events affecting the undefined Git ref. If you define neither tags/tags-ignore or branches/branches-ignore, the workflow will run for events affecting either branches or tags. If you define both branches/branches-ignore and paths, the workflow will only run when both filters are satisfied.

This is a section for branchs and tags.
(subtitle: onpushbranchestagsbranches-ignoretags-ignore )

I wanna know how it works If I define both branches and tags.
So I expect that "If you define both branches/branches-ignore and tags, the workflow will only run when both filters are satisfied.".
or "If you define both branches/branches-ignore and tags, the workflow will run for events affecting either branches or tags." (And by current policy, the latter is right.)
But it said about paths.

So I think neither is mistakes. It would be both.
it makes sense.

and remove about paths.
because below section include it.
https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#onpushpull_requestpull_request_targetpathspaths-ignore

Additional information

No response

@jinwookkk jinwookkk added the content This issue or pull request belongs to the Docs Content team label Sep 8, 2022
@welcome
Copy link

welcome bot commented Sep 8, 2022

Thanks for opening this issue. A GitHub docs team member should be by to give feedback soon. In the meantime, please check out the contributing guidelines.

@github-actions github-actions bot added the triage Do not begin working on this issue until triaged by the team label Sep 8, 2022
@jinwookkk jinwookkk changed the title tags are expected, but paths Neither looks wrong and tags are expected, but it explain paths. Sep 8, 2022
@cmwilson21
Copy link
Contributor

@jinwookkk Thanks for opening an issue and linking it to your PR! ✨

@cmwilson21 cmwilson21 removed the triage Do not begin working on this issue until triaged by the team label Sep 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content This issue or pull request belongs to the Docs Content team
Projects
None yet
3 participants