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:
parent
872b12da14
commit
c911554c84
2 changed files with 7 additions and 7 deletions
2
.github/check-changed-files.js
vendored
2
.github/check-changed-files.js
vendored
|
@ -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,
|
||||||
|
|
12
.github/workflows/pull_request.yml
vendored
12
.github/workflows/pull_request.yml
vendored
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue