diff --git a/.github/workflows/branch-protection.yml b/.github/workflows/branch-protection.yml index 2dd6601..94b442c 100644 --- a/.github/workflows/branch-protection.yml +++ b/.github/workflows/branch-protection.yml @@ -17,7 +17,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Sync branch protection ruleset - uses: actions/github-script@v7 + uses: actions/github-script@v9 with: script: | const RULESET_NAME = "Protect main"; diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2c0b781..360c77a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -51,7 +51,7 @@ jobs: run: echo "url=$(vercel deploy --prebuilt --token=${{ secrets.VERCEL_TOKEN }})" >> "$GITHUB_OUTPUT" - name: Comment preview URL - uses: actions/github-script@v7 + uses: actions/github-script@v9 env: PREVIEW_URL: ${{ steps.deploy.outputs.url }} with: