Skip to content

Commit

Permalink
fix: revert to github-script v6 (#913)
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxFrank13 authored Dec 13, 2024
1 parent ec3f7fb commit 3d98247
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/create_credentials_requirements_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
# Create a PR and comment on original PR
- name: create PR
uses: actions/github-script@v7
uses: actions/github-script@v6
with:
github-token: ${{secrets.REQUIREMENTS_BOT_GITHUB_TOKEN}}
script: |
Expand All @@ -58,7 +58,7 @@ jobs:
base: 'master',
})
// Get the PR that relates to the tagged commit
const getRelatedPrResponse = await github.rest.repos.listPullRequestsAssociatedWithCommit.endpoint.merge({
const getRelatedPrResponse = await github.rest.repos.listPullRequestsAssociatedWithCommit({
owner: 'edx',
repo: 'credentials-themes',
commit_sha: process.env.GITHUB_SHA
Expand Down

0 comments on commit 3d98247

Please sign in to comment.