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(release): make official releases pass the integration tests first #94

Merged
merged 3 commits into from
Nov 21, 2023

Conversation

obs-gh-colinhutchinson
Copy link
Contributor

@obs-gh-colinhutchinson obs-gh-colinhutchinson commented Nov 17, 2023

This should be wired correctly.

  • PR's run the integration tests
  • the release workflows (pre-release / official release) only run if the permission check is ok
  • the release workflows run the integration tests before running their respective releases

@obs-gh-colinhutchinson obs-gh-colinhutchinson force-pushed the chore/release-requires-tests branch 3 times, most recently from 3379f8c to ca700fe Compare November 20, 2023 20:10
Copy link

@bendrucker bendrucker left a comment

Choose a reason for hiding this comment

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

Assuming the test failure is incidental

pull_request:
workflow_dispatch:
workflow_call:

Choose a reason for hiding this comment

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

It's possible that this is optional when using secrets: inherit but it would be good practice to declare secrets regardless:

https://docs.github.com/en/enterprise-cloud@latest/actions/using-workflows/workflow-syntax-for-github-actions#onworkflow_callsecrets

If you don't inherit I'm guessing any explicitly passed secrets would be rejected.

@obs-gh-colinhutchinson obs-gh-colinhutchinson marked this pull request as ready for review November 21, 2023 14:03
@obs-gh-colinhutchinson obs-gh-colinhutchinson merged commit 12cda42 into main Nov 21, 2023
12 checks passed
@obs-gh-colinhutchinson obs-gh-colinhutchinson deleted the chore/release-requires-tests branch November 21, 2023 17:39
Copy link

🎉 This PR is included in version 1.2.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants