Files
Gitea_Action_Test/.gitea/workflows/012_pat.yaml

27 lines
619 B
YAML

name: Pat Bump Tag
on:
pull_request:
types:
- closed
branches:
- main
jobs:
build:
# Accessing the context for Github
if: ${{ github.event.pull_request.merged == true }}
runs-on: ubuntu-latest
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/github-tag-action@1.64.0
env:
# if you don't want to set write permissions use a PAT token
GITHUB_TOKEN: ${{ secrets.REGISTRY_TOKEN }}
WITH_V: true