Merge pull request #42 from tcivie/tcivie-patch-1

Update auto-tagging.yml
This commit is contained in:
Gleb Tcivie 2024-07-20 17:33:52 +03:00 committed by GitHub
commit 5b208755d3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,18 +1,26 @@
name: Auto Tagger
name: Bump version
on:
push:
pull_request:
types:
- closed
branches:
- main
- master
jobs:
auto-tag:
runs-on: ubuntu-latest
build:
if: github.event.pull_request.merged == true
runs-on: ubuntu-22.04
permissions:
contents: write
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.merge_commit_sha }}
fetch-depth: '0'
- name: Github PR Auto Tagger
uses: RueLaLa/auto-tagger@v2.1.3
- name: Bump version and push tag
uses: anothrNick/github-tag-action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
WITH_V: true
PRERELEASE: true