From 06cd72380bdcde83a6507af9b6fd8319cc949604 Mon Sep 17 00:00:00 2001 From: Luke Walton Date: Mon, 8 Jul 2024 14:00:40 +0100 Subject: [PATCH] ci: Remove PAT (#14) --- .github/workflows/build.yml | 3 +-- .github/workflows/release-please.yml | 2 +- .github/workflows/update_zeta_flutter.yml | 1 - 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 799fd0df..edb501ae 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,7 +9,6 @@ on: env: UPDATE_BRANCH_NAME: icon-updates - GH_TOKEN: ${{ secrets.PAT }} jobs: fetch_icons: @@ -76,4 +75,4 @@ jobs: run: | gh pr create -B main -H ${{steps.branch_name.outputs.BRANCH_NAME}} --title "${{steps.title.outputs.TITLE}}" --body 'Created by the Zeta Icons bot' env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ github.token }} diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 95b49d32..21c726cd 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -15,6 +15,6 @@ jobs: steps: - uses: google-github-actions/release-please-action@v4 with: - token: ${{ secrets.PAT }} + token: ${{ github.token }} config-file: .release-please/release-please-config.json manifest-file: .release-please/.release-please-manifest.json diff --git a/.github/workflows/update_zeta_flutter.yml b/.github/workflows/update_zeta_flutter.yml index 7297c426..a25b4ed1 100644 --- a/.github/workflows/update_zeta_flutter.yml +++ b/.github/workflows/update_zeta_flutter.yml @@ -10,7 +10,6 @@ on: env: flutter_branch: update-zeta-icons flutter_repo: ZebraDevs/zeta_flutter - GH_TOKEN: ${{ secrets.PAT }} jobs: publish_flutter: