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