From 5c49b3fb95f28238de956c8a2bd2c1d5f7b8df32 Mon Sep 17 00:00:00 2001 From: Atif Ali Date: Fri, 15 Sep 2023 12:26:42 -0400 Subject: [PATCH] Revert "Replace GHCR_PR_TOKEN with GITHUB_TOKEN" This reverts commit 0506429465f5d791e6d83b09e015334ecdc4b14b. --- .github/workflows/image-cleanup.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/image-cleanup.yml b/.github/workflows/image-cleanup.yml index 2ff4e951..435202b1 100644 --- a/.github/workflows/image-cleanup.yml +++ b/.github/workflows/image-cleanup.yml @@ -8,8 +8,6 @@ on: jobs: delete-images: runs-on: ubuntu-latest - permissions: - pull-requests: write if: github.repository_owner == 'cryostatio' strategy: matrix: @@ -19,7 +17,7 @@ jobs: with: owner: ${{ github.repository_owner }} name: ${{ matrix.image }} - token: ${{ secrets.GITHUB_TOKEN }} + token: ${{ secrets.GHCR_PR_TOKEN }} ignore-missing-package: true tag-regex: pr-${{ github.event.number }}-.* tagged-keep-latest: 0