-
Notifications
You must be signed in to change notification settings - Fork 234
ci: run the release when merges to main #1998
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
Merged
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
017ebd8
ci: run the release when merges to main
v1v b7675a6
avoid wrong docker-tag name
v1v 21dfc0f
use the opposite
v1v 65e0e30
fix yaml
v1v d89c5a3
enable test, slack message conditional and fix names
v1v 3497c21
Update .github/workflows/release.yml
v1v 3f76529
Update .github/workflows/release.yml
v1v a79d605
Update .github/workflows/release.yml
v1v eed2e82
skip test for branches in the release workflow
v1v 054de93
workaround
v1v 79bbc4b
fix
v1v b6e03ab
Update .github/workflows/release.yml
v1v e98595e
support releases in test.pypi for commits on main
v1v 59034cc
set environment variable in the reusable workflow instead
v1v af5c2c9
see https://github.com/pypi/legacy/issues/731
v1v f248801
setup: take a post version from environment variable
xrmx 86be9ee
fix
v1v a55eab2
Update .github/workflows/release.yml
v1v File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,40 @@ | ||
| name: test-release | ||
|
|
||
| on: | ||
| workflow_call: | ||
| inputs: | ||
| full-matrix: | ||
| description: "Run the full matrix" | ||
| required: true | ||
| type: boolean | ||
| ref: | ||
| description: "The git ref of elastic/apm-agent-python to run test workflow from." | ||
| required: false | ||
| type: string | ||
| enabled: | ||
| description: "Whether to run the workfow" | ||
| required: true | ||
| type: boolean | ||
| workflow_dispatch: | ||
| inputs: | ||
| full-matrix: | ||
| description: "Run the full matrix" | ||
| required: true | ||
| type: boolean | ||
| enabled: | ||
| description: "Whether to run the workfow" | ||
| required: true | ||
| type: boolean | ||
|
|
||
| jobs: | ||
| test: | ||
| if: ${{ inputs.enabled }} | ||
| uses: ./.github/workflows/test.yml | ||
| with: | ||
| full-matrix: ${{ inputs.full-matrix }} | ||
|
|
||
| run-if-disabled: | ||
| if: ${{ ! inputs.enabled }} | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - run: echo "do something to help with the reusable workflows with needs" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.