-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from uclahs-cds/nwiltsie-dogfood
Manage releases with this repo
- Loading branch information
Showing
4 changed files
with
57 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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,22 @@ | ||
--- | ||
name: Finalize release | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
types: | ||
- closed | ||
|
||
permissions: | ||
actions: read | ||
contents: write | ||
pull-requests: write | ||
|
||
jobs: | ||
finalize-release: | ||
if: ${{ github.event.pull_request.merged == true && startsWith(github.event.pull_request.head.ref, 'automation-create-release') }} | ||
uses: ./.github/workflows/wf-finalize-release.yaml | ||
secrets: inherit | ||
with: | ||
draft: true |
This file contains 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,31 @@ | ||
--- | ||
name: Prepare new release | ||
|
||
run-name: Open PR for new ${{ inputs.bump_type }} release | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
bump_type: | ||
type: choice | ||
description: >- | ||
Semantic version bump type | ||
required: true | ||
options: | ||
- major | ||
- minor | ||
- patch | ||
- prerelease | ||
|
||
permissions: | ||
actions: read | ||
contents: write | ||
pull-requests: write | ||
|
||
jobs: | ||
prepare-release: | ||
uses: ./.github/workflows/wf-prepare-release.yaml | ||
with: | ||
bump_type: ${{ inputs.bump_type }} | ||
exact_version: '' | ||
secrets: inherit |
This file contains 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 |
---|---|---|
|
@@ -10,7 +10,9 @@ | |
*.rd[as] | ||
|
||
# Python | ||
._version.py | ||
junit/ | ||
.tox/ | ||
_version.py | ||
__pycache__/ | ||
.pytest_cache/ | ||
.Python | ||
|
This file contains 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