chore(deps): update actions/github-script action to v5 (#1616)

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

* github: update check-changed-files for OctoKit upgrade

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
renovate[bot] 2021-12-23 13:20:48 +00:00 committed by GitHub
parent 872b12da14
commit c911554c84
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 7 deletions

View file

@ -1,5 +1,5 @@
module.exports = async ({github, context}) => { module.exports = async ({github, context}) => {
const result = await github.pulls.listFiles({ const result = await github.rest.pulls.listFiles({
owner: context.payload.repository.owner.login, owner: context.payload.repository.owner.login,
repo: context.payload.repository.name, repo: context.payload.repository.name,
pull_number: context.payload.number, pull_number: context.payload.number,

View file

@ -16,7 +16,7 @@ jobs:
fetch-depth: 0 fetch-depth: 0
- name: Check if relevant files have changed - name: Check if relevant files have changed
uses: actions/github-script@v4.0.0 uses: actions/github-script@v5.0.0
id: service-changed id: service-changed
with: with:
result-encoding: string result-encoding: string
@ -51,7 +51,7 @@ jobs:
fetch-depth: 0 fetch-depth: 0
- name: Check if relevant files have changed - name: Check if relevant files have changed
uses: actions/github-script@v4.0.0 uses: actions/github-script@v5.0.0
id: service-changed id: service-changed
with: with:
result-encoding: string result-encoding: string
@ -93,7 +93,7 @@ jobs:
fetch-depth: 0 fetch-depth: 0
- name: Check if relevant files have changed - name: Check if relevant files have changed
uses: actions/github-script@v4.0.0 uses: actions/github-script@v5.0.0
id: service-changed id: service-changed
with: with:
result-encoding: string result-encoding: string
@ -128,7 +128,7 @@ jobs:
fetch-depth: 0 fetch-depth: 0
- name: Check if relevant files have changed - name: Check if relevant files have changed
uses: actions/github-script@v4.0.0 uses: actions/github-script@v5.0.0
id: service-changed id: service-changed
with: with:
result-encoding: string result-encoding: string
@ -163,7 +163,7 @@ jobs:
fetch-depth: 0 fetch-depth: 0
- name: Check if relevant files have changed - name: Check if relevant files have changed
uses: actions/github-script@v4.0.0 uses: actions/github-script@v5.0.0
id: service-changed id: service-changed
with: with:
result-encoding: string result-encoding: string
@ -198,7 +198,7 @@ jobs:
fetch-depth: 0 fetch-depth: 0
- name: Check if relevant files have changed - name: Check if relevant files have changed
uses: actions/github-script@v4.0.0 uses: actions/github-script@v5.0.0
id: service-changed id: service-changed
with: with:
result-encoding: string result-encoding: string