From 44a9d93ddc62d02238922b917935bd8611e95b73 Mon Sep 17 00:00:00 2001 From: Philip <17368112+vHeemstra@users.noreply.github.com> Date: Wed, 10 Jul 2024 15:10:00 +0200 Subject: [PATCH] ci --- .github/workflows/manual_bump_version.yml | 2 +- .github/workflows/release_on_version_push.yml | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/manual_bump_version.yml b/.github/workflows/manual_bump_version.yml index 615e55d..8fb3099 100644 --- a/.github/workflows/manual_bump_version.yml +++ b/.github/workflows/manual_bump_version.yml @@ -26,7 +26,7 @@ jobs: with: repository: vHeemstra/is-apng fetch-depth: 0 - # token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }} + token: ${{ secrets.GH_TOKEN }} - name: Install Node.js uses: actions/setup-node@v3 diff --git a/.github/workflows/release_on_version_push.yml b/.github/workflows/release_on_version_push.yml index 76c2b8b..7adc311 100644 --- a/.github/workflows/release_on_version_push.yml +++ b/.github/workflows/release_on_version_push.yml @@ -55,7 +55,7 @@ jobs: run: shell: bash env: - GITHUB_TOKEN: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} steps: - name: Check out repository uses: actions/checkout@v3 @@ -118,7 +118,7 @@ jobs: run: shell: bash env: - GITHUB_TOKEN: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} steps: - name: Clean up artifacts uses: geekyeggo/delete-artifact@v2 @@ -130,8 +130,8 @@ jobs: # - name: Clean up artifacts # uses: actions/github-script@v6 # with: - # # GITHUB_TOKEN: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }} - # github-token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }} + # # GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} + # github-token: ${{ secrets.GH_TOKEN }} # script: | # const {GITHUB_RUN_ID, GITHUB_REPOSITORY} = process.env # const artifactsURL = `/repos/${GITHUB_REPOSITORY}/actions/runs/${GITHUB_RUN_ID}/artifacts`