-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(github): Add new workflow files
- Loading branch information
Showing
4 changed files
with
166 additions
and
279 deletions.
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
This file was deleted.
Oops, something went wrong.
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,36 @@ | ||
# Workflow that runs on closed PRs to the default branch | ||
|
||
name: Default Branch PR Merged CI (Python) | ||
|
||
on: | ||
pull_request: | ||
types: ["closed"] | ||
branches: ["main"] | ||
|
||
# Specify concurrency such that only one workflow can run at a time | ||
# * Different workflow files are not affected | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: false | ||
|
||
|
||
jobs: | ||
|
||
# Define an autotagger job that creates tags on changes to master | ||
tag: | ||
runs-on: ubuntu-latest | ||
if: | | ||
github.event_name == 'pull_request' && | ||
github.event.action == 'closed' && | ||
github.event.pull_request.merged == true | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- name: Bump version and push tag | ||
uses: RueLaLa/auto-tagger@v2 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GITHUB_PR_NUMBER: ${{ github.event.number }} |
Oops, something went wrong.