diff --git a/.github/workflows/cf-sync.yml b/.github/workflows/cf-sync.yml index 3d740720..5422f414 100644 --- a/.github/workflows/cf-sync.yml +++ b/.github/workflows/cf-sync.yml @@ -18,7 +18,7 @@ jobs: steps: - name: Get PR branch id: get-pr - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: script: | const { owner, repo, number } = context.issue; @@ -34,7 +34,7 @@ jobs: - name: Parse comment for deployment status id: parse-comment - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: script: | const commentBody = context.payload.comment.body; @@ -66,7 +66,7 @@ jobs: id: deployment # Use outputs directly, not nested in result if: steps.parse-comment.outputs.status == 'starting' || steps.parse-comment.outputs.status == 'finished' || steps.parse-comment.outputs.status == 'failed' - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: github-token: ${{ secrets.WORKFLOW_PAT || secrets.GITHUB_TOKEN }} script: | @@ -149,7 +149,7 @@ jobs: - name: Update deployment status (finished) if: steps.parse-comment.outputs.status == 'finished' - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: github-token: ${{ secrets.WORKFLOW_PAT || secrets.GITHUB_TOKEN }} script: | @@ -174,7 +174,7 @@ jobs: - name: Update deployment status (failed) if: steps.parse-comment.outputs.status == 'failed' - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: github-token: ${{ secrets.WORKFLOW_PAT || secrets.GITHUB_TOKEN }} script: |