From d969f964ae3b3c7140f775ec2ac4712582566748 Mon Sep 17 00:00:00 2001 From: Oliver Lippert Date: Thu, 1 Feb 2024 16:40:00 +0100 Subject: [PATCH] fix: don't persist credentials on checkout --- .gitea/workflows/release.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 3abb876..612d635 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -11,7 +11,7 @@ jobs: - name: Checkout uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 with: - token: ${{ secrets.REPO_MAINTAINER_TOKEN }} + persist-credentials: false # TODO extract dedicated action - name: setup tea cli @@ -19,8 +19,6 @@ jobs: env: TEA_VERSION: main run: | - echo ".${{ secrets.REPO_MAINTAINER_TOKEN }}." - wget https://dl.gitea.com/tea/${TEA_VERSION}/tea-${TEA_VERSION}-linux-amd64 mv tea* tea chmod +x tea