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:
parent
f2f081d4f7
commit
4b6df42f6a
1 changed files with 2 additions and 2 deletions
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue