diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index 04daa024..b9ce8495 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -41,7 +41,7 @@ jobs: - name: Temporarily disable "include administrators" branch protection if: ${{ always() && github.ref == 'refs/heads/main' }} id: disable_include_admins - uses: benjefferies/branch-protection-bot@1.0.9 + uses: benjefferies/branch-protection-bot@v1.1.2 with: access_token: ${{ secrets.REPO_GHA_PAT }} branch: main @@ -52,7 +52,7 @@ jobs: author_email: noreply@cnpg.com message: 'Daily automatic update' - name: Enable "include administrators" branch protection - uses: benjefferies/branch-protection-bot@1.0.9 + uses: benjefferies/branch-protection-bot@v1.1.2 if: ${{ always() && github.ref == 'refs/heads/main' }} with: access_token: ${{ secrets.REPO_GHA_PAT }}