From d63b7120072ebcb3aefdf5cb77603052333dca56 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Sun, 4 Aug 2024 16:22:54 +0100 Subject: [PATCH] build(push-main): use forgejo secret token directly --- .forgejo/workflows/push-main.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.forgejo/workflows/push-main.yml b/.forgejo/workflows/push-main.yml index ada5d469..5aa5cc38 100644 --- a/.forgejo/workflows/push-main.yml +++ b/.forgejo/workflows/push-main.yml @@ -24,14 +24,12 @@ jobs: - name: Run release-plz release-pr uses: https://git.kemitix.net/kemitix/rust@v1.80.0-2 with: - args: release-plz release-pr --backend gitea --git-token ${GITHUB_TOKEN} + args: release-plz release-pr --backend gitea --git-token ${{ secrets.FORGEJO_TOKEN }} env: - GITHUB_TOKEN: ${{ secrets.FORGEJO_TOKEN }} CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} - name: Run release-plz release uses: https://git.kemitix.net/kemitix/rust@v1.80.0-2 with: - args: release-plz release --backend gitea --git-token ${GITHUB_TOKEN} + args: release-plz release --backend gitea --git-token ${{ secrets.FORGEJO_TOKEN }} env: - GITHUB_TOKEN: ${{ secrets.FORGEJO_TOKEN }} CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}