Skip to content

Commit

Permalink
Add additional automation
Browse files Browse the repository at this point in the history
  • Loading branch information
tomswartz07 committed Nov 25, 2023
1 parent 7f3b969 commit b80c134
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/workflows/container-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ jobs:
- '3.10' # EOL xx Oct 2026
- '3.9' # EOL xx Oct 2025
- '3.8' # EOL xx Oct 2024
- '3.7' # EOL 27 Jun 2023
name: Python ${{ matrix.python-version }} Testing
steps:
- uses: actions/checkout@v4
Expand Down
26 changes: 26 additions & 0 deletions .github/workflows/tag-version.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Bump version
on:
# Both items below have to be true; PR has to be against master, and closed
pull_request:
types:
- closed
branches:
- master
jobs:
build:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.merge_commit_sha }}
fetch-depth: '0'
- name: Bump version and push tag
uses: anothrNick/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
WITH_V: false
DEFAULT_BUMP: patch
DRY_RUN: false

0 comments on commit b80c134

Please sign in to comment.