From 6dd9e892fba9c102f6aab73b1734a6d357d4ac64 Mon Sep 17 00:00:00 2001 From: gitea-actions-autobuild Date: Fri, 6 Dec 2024 15:27:44 +0100 Subject: [PATCH] retire REPO_WRITE token --- .gitea/workflows/patchinfo_numberator.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/patchinfo_numberator.yaml b/.gitea/workflows/patchinfo_numberator.yaml index f7bd239..39d62a6 100644 --- a/.gitea/workflows/patchinfo_numberator.yaml +++ b/.gitea/workflows/patchinfo_numberator.yaml @@ -13,7 +13,7 @@ jobs: steps: # We should provide go with our image already? - name: Setup Go - uses: https://token:${{ secrets.REPO_WRITE }}@src.suse.de/actions/github-setup-go@v5 + uses: https://gitea-actions-autobuild:${{ secrets.ACTION_PASSWORD }}@src.suse.de/actions/github-setup-go@v5 with: go-version: '1.20' # To be obsoleted @@ -23,16 +23,16 @@ jobs: zypper in -y ca-certificates-suse ca-certificates-suse-ucs # Generic action from GitHub to clone the product git repo - name: Checkout product - uses: https://gitea-action-buildops:${{ secrets.ACTION_PASSWORD }}@src.suse.de/actions/github-actions-checkout@v4 + uses: https://gitea-actions-autobuild:${{ secrets.ACTION_PASSWORD }}@src.suse.de/actions/github-actions-checkout@v4 # Updating incident numbers - name: Update all new _patchinfo files - uses: https://gitea-action-buildops:${{ secrets.ACTION_PASSWORD }}@src.suse.de/actions/patchinfo-numbering-action@v0 + uses: https://gitea-actions-autobuild:${{ secrets.ACTION_PASSWORD }}@src.suse.de/actions/patchinfo-numbering-action@v0 - name: Get last commit message id: last-commit run: | echo "author=$(git log -1 --pretty=\"%an <%ae>\")" >> $GITHUB_OUTPUT - name: Commit changes back - uses: https://gitea-action-buildops:${{ secrets.ACTION_PASSWORD }}@src.suse.de/actions/stefanzweifel-git-auto-commit-action@v5 + uses: https://gitea-actions-autobuild:${{ secrets.ACTION_PASSWORD }}@src.suse.de/actions/stefanzweifel-git-auto-commit-action@v5 with: commit_author: ${{ steps.last-commit.outputs.author }} commit_message: "Update incident numbers"