From a50c2a58c68ccd1bdb4976ffb0a0ac5881beb4a0 Mon Sep 17 00:00:00 2001 From: hangpersonal Date: Sun, 19 Oct 2025 12:49:03 -0700 Subject: [PATCH] Add .gitea/workflows/*.yaml --- .gitea/workflows/012_pat.yaml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .gitea/workflows/012_pat.yaml 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