chore(deps): update actions/github-script action to v6 (#30)

* chore(deps): update actions/github-script action to v6

* fix: address breaking change on action API

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Marc Cataford <mcat@riseup.net>
This commit is contained in:
renovate[bot] 2022-08-01 11:39:56 -04:00 committed by GitHub
parent f2f081d4f7
commit 4b6df42f6a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -112,13 +112,13 @@ jobs:
yarn netlify deploy --dir=dist > output.log yarn netlify deploy --dir=dist > output.log
echo "::set-output name=draft-url::$(grep 'Website Draft URL' output.log)" echo "::set-output name=draft-url::$(grep 'Website Draft URL' output.log)"
- name: Report - name: Report
uses: actions/github-script@v2 uses: actions/github-script@v6
env: env:
DRAFT_URL: ${{ steps.preview-deploy.outputs.draft-url }} DRAFT_URL: ${{ steps.preview-deploy.outputs.draft-url }}
with: with:
github-token: ${{ secrets.GITHUB_TOKEN }} github-token: ${{ secrets.GITHUB_TOKEN }}
script: | script: |
github.issues.createComment({ github.rest.issues.createComment({
issue_number: context.issue.number, issue_number: context.issue.number,
owner: context.repo.owner, owner: context.repo.owner,
repo: context.repo.repo, repo: context.repo.repo,