ci: fix syntax for updated github script action
This commit is contained in:
parent
b448d88e6d
commit
ae03da16bd
4
.github/workflows/renovate-ci.yml
vendored
4
.github/workflows/renovate-ci.yml
vendored
|
@ -101,7 +101,7 @@ jobs:
|
||||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
script: |
|
script: |
|
||||||
const semver = require('semver')
|
const semver = require('semver')
|
||||||
const { data } = await github.pulls.listFiles({
|
const { data } = await github.rest.pulls.listFiles({
|
||||||
owner: context.repo.owner,
|
owner: context.repo.owner,
|
||||||
repo: context.repo.repo,
|
repo: context.repo.repo,
|
||||||
pull_number: context.issue.number
|
pull_number: context.issue.number
|
||||||
|
@ -154,7 +154,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
github-token: ${{ secrets.PERSONAL_TOKEN }}
|
github-token: ${{ secrets.PERSONAL_TOKEN }}
|
||||||
script: |
|
script: |
|
||||||
github.issues.addLabels({
|
github.rest.issues.addLabels({
|
||||||
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 New Issue
Block a user