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

Refine triggers to avoid replicated runs on PRs #267

Merged
merged 2 commits into from
Aug 8, 2024

Conversation

farshidtz
Copy link
Member

The workflow currently runs twice on PRs, on every commit from a branch:
image

This is because the trigger branch for push event isn't restricted to main.

This isn't an issue on PRs with a forked repo head, only on those from an internal branch.

Copy link
Contributor

@ru-fu ru-fu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot!
I was always annoyed by that but didn't investigate the reason. :)

.github/workflows/automatic-doc-checks.yml Outdated Show resolved Hide resolved
@farshidtz farshidtz requested a review from ru-fu August 8, 2024 13:50
Copy link
Contributor

@ru-fu ru-fu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! 🚀

@ru-fu ru-fu merged commit 8b4dedb into canonical:main Aug 8, 2024
3 checks passed
ru-fu pushed a commit to ru-fu/starter-pack that referenced this pull request Aug 12, 2024
* Refine triggers to avoid replicated runs on PRs

* Remove branch restriction for PR trigger
ru-fu pushed a commit to ru-fu/starter-pack that referenced this pull request Aug 12, 2024
* Refine triggers to avoid replicated runs on PRs

* Remove branch restriction for PR trigger
ru-fu pushed a commit to ru-fu/starter-pack that referenced this pull request Aug 12, 2024
* Refine triggers to avoid replicated runs on PRs

* Remove branch restriction for PR trigger
ru-fu added a commit that referenced this pull request Aug 13, 2024
Refine triggers to avoid replicated runs on PRs (#267)
farshidtz added a commit to canonical/real-time-ubuntu-docs that referenced this pull request Aug 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants