From c10649fc2f008632fdc2b998c3192f9b3aeb73c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charles-Edouard=20Br=C3=A9t=C3=A9ch=C3=A9?= Date: Fri, 6 Jan 2023 17:02:13 +0100 Subject: [PATCH] chore: do not run pr update workflow if token is not defined (#5921) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Charles-Edouard Brétéché Signed-off-by: Charles-Edouard Brétéché --- .github/workflows/pr-update.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/pr-update.yaml b/.github/workflows/pr-update.yaml index 8e427bd188..4cff14021b 100644 --- a/.github/workflows/pr-update.yaml +++ b/.github/workflows/pr-update.yaml @@ -8,6 +8,7 @@ on: jobs: autoupdate: + if: ${{ secrets.PR_UPDATE_TOKEN }} permissions: pull-requests: write runs-on: ubuntu-latest