diff --git a/.gitea/workflows/012_pat.yaml b/.gitea/workflows/012_pat.yaml new file mode 100644 index 0000000..87a2240 --- /dev/null +++ b/.gitea/workflows/012_pat.yaml @@ -0,0 +1,26 @@ +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