From eb967c8114be10c38a73ba458e8271230c1134c5 Mon Sep 17 00:00:00 2001 From: Rajpal Chauhan Date: Thu, 7 Dec 2023 14:10:24 -0800 Subject: [PATCH] making changes in workflow according to the new action Signed-off-by: Rajpal Chauhan --- .github/workflows/delete_images.yaml | 1 + .github/workflows/on_pr_closed.yaml | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/delete_images.yaml b/.github/workflows/delete_images.yaml index c5167ce45..2ee34ad09 100644 --- a/.github/workflows/delete_images.yaml +++ b/.github/workflows/delete_images.yaml @@ -19,3 +19,4 @@ jobs: org-name: ${{ github.repository_owner}} skip-tags: pr-* , *.*.* token: ${{ secrets.PAT }} + token-type: 'pat' \ No newline at end of file diff --git a/.github/workflows/on_pr_closed.yaml b/.github/workflows/on_pr_closed.yaml index b3b44ba52..afb49c2a9 100644 --- a/.github/workflows/on_pr_closed.yaml +++ b/.github/workflows/on_pr_closed.yaml @@ -56,4 +56,5 @@ jobs: account-type: org org-name: ${{ github.repository_owner}} filter-tags: pr-${{ github.event.number }} - token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + token: ${{ secrets.PAT }} + token-type: 'pat' \ No newline at end of file