From cabf19848f276a5b685928bbe53d7ec93fe48482 Mon Sep 17 00:00:00 2001 From: bo0tzz Date: Thu, 5 Dec 2024 14:34:12 +0100 Subject: [PATCH] fix: use push-o-matic token (#152) --- .github/workflows/tag.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tag.yml b/.github/workflows/tag.yml index eb4d47b..9dcfdaa 100644 --- a/.github/workflows/tag.yml +++ b/.github/workflows/tag.yml @@ -13,12 +13,19 @@ jobs: set_tag: runs-on: ubuntu-latest steps: + - name: Generate a token + id: generate-token + uses: actions/create-github-app-token@v1 + with: + app-id: ${{ secrets.PUSH_O_MATIC_APP_ID }} + private-key: ${{ secrets.PUSH_O_MATIC_APP_KEY }} + - name: Checkout code uses: actions/checkout@v4 with: ref: "main" fetch-depth: 0 - token: ${{secrets.PAT}} + token: ${{ steps.generate-token.outputs.token }} - name: Create and push new tag run: |