Skip to content

Commit

Permalink
Fix auto tag action to use actions/checkout@v4 #minor (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielchurm authored May 1, 2024
1 parent 015cf97 commit 854ed47
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/auto-tag-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,23 @@ on:
- closed
branches:
- main

jobs:
build:
if: github.event.pull_request.merged == true
runs-on: ubuntu-22.04
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: "0"
ref: ${{ github.event.pull_request.merge_commit_sha }}
fetch-depth: '0'

- name: Bump version and push tag
uses: anothrNick/[email protected]
env:
DEFAULT_BUMP: patch
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
WITH_V: true
WITH_V: true
PRERELEASE: true

0 comments on commit 854ed47

Please sign in to comment.