diff --git a/.github/workflows/develop-update.yml b/.github/workflows/develop-update.yml index 3922462..a278dcc 100644 --- a/.github/workflows/develop-update.yml +++ b/.github/workflows/develop-update.yml @@ -74,18 +74,18 @@ jobs: # Ensure labels exist - name: 'Ensure "develop-update" label is created' if: steps.check_pr.outputs.result == 'false' - uses: actions/github-script@v6 + uses: actions/github-script@v8 with: script: | try { - await github.issues.getLabel({ + await github.rest.issues.getLabel({ owner: context.repo.owner, repo: context.repo.repo, name: 'develop-update' }); } catch (error) { if (error.status === 404) { - await github.issues.createLabel({ + await github.rest.issues.createLabel({ owner: context.repo.owner, repo: context.repo.repo, name: 'develop-update',