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

chore(tests): run acceptance tests on main w/o approval #309

Merged
merged 2 commits into from
Nov 25, 2024

Conversation

parkedwards
Copy link
Contributor

@parkedwards parkedwards commented Nov 25, 2024

normally, our Acceptance Tests are run with approval because the GH environment contains secrets that theoretically could be exfiltrated

However, this made it so that merges to main would have pending Acceptance Tests. While it's unlikely that a commit is merged without running these tests first, it's probably good to cover our bases and have them run automatically on main merge

To facilitate that, I've created a separate GH environment called Acceptance Tests (main), which can only be used on a protected branch (eg. main)

This environment has the same secrets, but will run without any approval needed

image

@parkedwards parkedwards requested a review from a team as a code owner November 25, 2024 19:24
@parkedwards parkedwards added the maintenance Maintenance work - won't show in release notes label Nov 25, 2024
Copy link
Contributor

@mitchnielsen mitchnielsen left a comment

Choose a reason for hiding this comment

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

much-needed 🙏🏼

@parkedwards parkedwards merged commit ad5bd5b into main Nov 25, 2024
2 checks passed
@parkedwards parkedwards deleted the chore/acceptance-tests-should-run-on-main branch November 25, 2024 19:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Maintenance work - won't show in release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants