Skip to content

Commit 3d98247

Browse files
authored
fix: revert to github-script v6 (#913)
1 parent ec3f7fb commit 3d98247

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/create_credentials_requirements_pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
4646
# Create a PR and comment on original PR
4747
- name: create PR
48-
uses: actions/github-script@v7
48+
uses: actions/github-script@v6
4949
with:
5050
github-token: ${{secrets.REQUIREMENTS_BOT_GITHUB_TOKEN}}
5151
script: |
@@ -58,7 +58,7 @@ jobs:
5858
base: 'master',
5959
})
6060
// Get the PR that relates to the tagged commit
61-
const getRelatedPrResponse = await github.rest.repos.listPullRequestsAssociatedWithCommit.endpoint.merge({
61+
const getRelatedPrResponse = await github.rest.repos.listPullRequestsAssociatedWithCommit({
6262
owner: 'edx',
6363
repo: 'credentials-themes',
6464
commit_sha: process.env.GITHUB_SHA

0 commit comments

Comments
 (0)