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

refactor(ci): reduce complexity in required workflows #3925

Merged
merged 4 commits into from
Nov 6, 2023

Conversation

GenPage
Copy link
Member

@GenPage GenPage commented Nov 5, 2023

what

Remove the 'workflow'-required file and simplify it to a single file and workflow. The workflow first checks for changes using https://github.com/dorny/paths-filter/tree/v2 and then triggers either step based on whether there are actual changes.

why

Having separate files is tedious, and it is easy to miss changes from one file to another, causing issues where required checks are not run. This also allows for the workflows to run on our new release branches.

tests

references

Introduced and built off of #3675 by @ghaiszaher

@GenPage GenPage requested a review from a team as a code owner November 5, 2023 19:52
@GenPage GenPage changed the title refactor(ci): builds upon work in tests to reduce complexity in requiring workflows refactor(ci): reduce complexity in required workflows Nov 5, 2023
@GenPage GenPage merged commit 886dd96 into main Nov 6, 2023
25 checks passed
@GenPage GenPage deleted the refactor/gha-workflows branch November 6, 2023 02:41
@GenPage
Copy link
Member Author

GenPage commented Nov 6, 2023

/cherry-pick release-0.26

Copy link

Cherry-pick failed with Merge error 886dd96299f3548bcccb546f8fdfa59be7e9fbca into temp-cherry-pick-6adde5-release-0.26

GenPage added a commit that referenced this pull request Nov 6, 2023
* refactor(ci): builds upon work in tests to reduce complexity in requiring workflows

* fix: tweaks and missing outputs

* fix: make sure the new workflows actually run

* fix: consistency with non-required testing image
ijames-gc pushed a commit to gocardless/atlantis that referenced this pull request Feb 13, 2024
* refactor(ci): builds upon work in tests to reduce complexity in requiring workflows

* fix: tweaks and missing outputs

* fix: make sure the new workflows actually run

* fix: consistency with non-required testing image
ijames-gc pushed a commit to gocardless/atlantis that referenced this pull request Feb 13, 2024
* refactor(ci): builds upon work in tests to reduce complexity in requiring workflows

* fix: tweaks and missing outputs

* fix: make sure the new workflows actually run

* fix: consistency with non-required testing image
terakoya76 pushed a commit to terakoya76/atlantis that referenced this pull request Dec 31, 2024
* refactor(ci): builds upon work in tests to reduce complexity in requiring workflows

* fix: tweaks and missing outputs

* fix: make sure the new workflows actually run

* fix: consistency with non-required testing image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants