aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorrenovate[bot] <29139614+renovate[bot]@users.noreply.github.com>2021-12-23 13:20:48 +0000
committerGitHub <noreply@github.com>2021-12-23 13:20:48 +0000
commitc911554c84fe41629e000e27efc960ced80912e2 (patch)
tree6dab2a4a6d9ef9153914f7c040142b7ce149d68c /.github
parent872b12da14d6b49fd70bc711ba1d3c8fbcb2a9f4 (diff)
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>
Diffstat (limited to '.github')
-rw-r--r--.github/check-changed-files.js2
-rw-r--r--.github/workflows/pull_request.yml12
2 files changed, 7 insertions, 7 deletions
diff --git a/.github/check-changed-files.js b/.github/check-changed-files.js
index 10f86348..24bddcf4 100644
--- a/.github/check-changed-files.js
+++ b/.github/check-changed-files.js
@@ -1,5 +1,5 @@
module.exports = async ({github, context}) => {
- const result = await github.pulls.listFiles({
+ const result = await github.rest.pulls.listFiles({
owner: context.payload.repository.owner.login,
repo: context.payload.repository.name,
pull_number: context.payload.number,
diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml
index 5ab9bfe8..17f570d1 100644
--- a/.github/workflows/pull_request.yml
+++ b/.github/workflows/pull_request.yml
@@ -16,7 +16,7 @@ jobs:
fetch-depth: 0
- name: Check if relevant files have changed
- uses: actions/github-script@v4.0.0
+ uses: actions/github-script@v5.0.0
id: service-changed
with:
result-encoding: string
@@ -51,7 +51,7 @@ jobs:
fetch-depth: 0
- name: Check if relevant files have changed
- uses: actions/github-script@v4.0.0
+ uses: actions/github-script@v5.0.0
id: service-changed
with:
result-encoding: string
@@ -93,7 +93,7 @@ jobs:
fetch-depth: 0
- name: Check if relevant files have changed
- uses: actions/github-script@v4.0.0
+ uses: actions/github-script@v5.0.0
id: service-changed
with:
result-encoding: string
@@ -128,7 +128,7 @@ jobs:
fetch-depth: 0
- name: Check if relevant files have changed
- uses: actions/github-script@v4.0.0
+ uses: actions/github-script@v5.0.0
id: service-changed
with:
result-encoding: string
@@ -163,7 +163,7 @@ jobs:
fetch-depth: 0
- name: Check if relevant files have changed
- uses: actions/github-script@v4.0.0
+ uses: actions/github-script@v5.0.0
id: service-changed
with:
result-encoding: string
@@ -198,7 +198,7 @@ jobs:
fetch-depth: 0
- name: Check if relevant files have changed
- uses: actions/github-script@v4.0.0
+ uses: actions/github-script@v5.0.0
id: service-changed
with:
result-encoding: string