Skip to content

Commit

Permalink
ci: add action to update major version tag
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandre-abrioux committed Nov 10, 2024
1 parent ba62acc commit 1c1563f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
13 changes: 13 additions & 0 deletions .github/workflows/update-major-version.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Update Major Version Tag

on:
push:
tags:
- "v*"

jobs:
update-majorver:
name: Update Major Version Tag
runs-on: ubuntu-latest
steps:
- uses: nowactions/update-majorver@v1
2 changes: 1 addition & 1 deletion action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ inputs:
required: false
runs:
using: docker
image: ghcr.io/alexandre-abrioux/github-profile-toolbox:latest
image: ghcr.io/alexandre-abrioux/github-profile-toolbox:v1
args:
- --config=/github/workspace/${{ inputs.config }}
- --readme=/github/workspace/${{ inputs.readme }}

0 comments on commit 1c1563f

Please sign in to comment.