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

CI: restrict pushes event and add workflow_dispatch #4306

Merged
merged 4 commits into from
Dec 20, 2021
Merged

Conversation

XhmikosR
Copy link
Contributor

This will allow us to trigger the workflow manually

Might be worth restricting on push now that we can manually trigger the workflow. I'll leave that for someone else to tackle later.

This will allow us to trigger the workflow manually
@XhmikosR XhmikosR requested a review from a team as a code owner December 18, 2021 21:04
@bnb
Copy link
Contributor

bnb commented Dec 19, 2021

Is there a specific reason we'd need to manually trigger that you had in mind?

Not opposed at all (I advocated for this feature to be shipped 😅) , just want to make sure adding it actually solves a (potential) problem.

@XhmikosR
Copy link
Contributor Author

XhmikosR commented Dec 19, 2021

The main idea is to restrict triggering the actions on all pushes (we should change it only to main since we always use PRs) and so this feature makes it possible to test a branch before opening a PR or without having a PR.

Right now, we have duplicate runs for pushes and PRs.

@XhmikosR XhmikosR changed the title CI: add workflow_dispatch CI: resitrict pushes event and add workflow_dispatch Dec 19, 2021
@XhmikosR
Copy link
Contributor Author

I updated the PR with the proposed changes, please have another look. :)

@XhmikosR XhmikosR changed the title CI: resitrict pushes event and add workflow_dispatch CI: restrict pushes event and add workflow_dispatch Dec 19, 2021
@XhmikosR XhmikosR requested a review from Trott December 19, 2021 20:35
@XhmikosR XhmikosR mentioned this pull request Dec 20, 2021
2 tasks
@XhmikosR XhmikosR merged commit 9239c9e into main Dec 20, 2021
@XhmikosR XhmikosR deleted the XhmikosR-patch-3 branch December 20, 2021 10:19
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.

4 participants