From 5b7d866cc783b3fdb3fcc74928417fb175e1db66 Mon Sep 17 00:00:00 2001 From: tuutti Date: Tue, 22 Oct 2024 10:07:08 +0300 Subject: [PATCH] UHF-10248: Run tests against automatic updates --- .github/workflows/update-config.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/update-config.yml b/.github/workflows/update-config.yml index 1a7d61f7..d36258dd 100644 --- a/.github/workflows/update-config.yml +++ b/.github/workflows/update-config.yml @@ -24,6 +24,12 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Check if required secrets are set + env: + AUTOMATIC_UPDATE_TOKEN: ${{ secrets.AUTOMATIC_UPDATE_TOKEN }} + if: env.AUTOMATIC_UPDATE_TOKEN == '' + run: exit 1 + - name: Download latest dump env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -77,6 +83,7 @@ jobs: uses: peter-evans/create-pull-request@v6 with: commit-message: Update configuration + token: ${{ secrets.AUTOMATIC_UPDATE_TOKEN }} title: Automatic update labels: auto-update body: |