Skip to content

Commit 3f89d68

Browse files
Bump actions/github-script from 3 to 6 (#84)
* Bump actions/github-script from 3 to 6 Bumps [actions/github-script](https://github.com/actions/github-script) from 3 to 6. - [Release notes](https://github.com/actions/github-script/releases) - [Commits](actions/github-script@v3...v6) --- updated-dependencies: - dependency-name: actions/github-script dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Daniël van Noord <[email protected]>
1 parent a35845c commit 3f89d68

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/primer.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
python -m pydocstringformatter.testutils.primer.primer --step-two
5151
- name: Post comment
5252
id: post-comment
53-
uses: actions/github-script@v3
53+
uses: actions/github-script@v6
5454
with:
5555
github-token: ${{ secrets.GITHUB_TOKEN }}
5656
script: |
@@ -64,7 +64,7 @@ jobs:
6464
} else {
6565
body = 'According to the primer, this change has no effect on the checked open source code. 🤖🎉'
6666
}
67-
await github.issues.createComment({
67+
await github.rest.issues.createComment({
6868
issue_number: ${{ github.event.pull_request.number }},
6969
owner: context.repo.owner,
7070
repo: context.repo.repo,

0 commit comments

Comments
 (0)