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 }}
|
||||
script: |
|
||||
const semver = require('semver')
|
||||
const { data } = await github.pulls.listFiles({
|
||||
const { data } = await github.rest.pulls.listFiles({
|
||||
owner: context.repo.owner,
|
||||
repo: context.repo.repo,
|
||||
pull_number: context.issue.number
|
||||
|
@ -154,7 +154,7 @@ jobs:
|
|||
with:
|
||||
github-token: ${{ secrets.PERSONAL_TOKEN }}
|
||||
script: |
|
||||
github.issues.addLabels({
|
||||
github.rest.issues.addLabels({
|
||||
issue_number: context.issue.number,
|
||||
owner: context.repo.owner,
|
||||
repo: context.repo.repo,
|
||||
|
|
Loading…
Reference in New Issue
Block a user