mirror of
https://github.com/gradle/gradle-build-action.git
synced 2025-04-06 21:34:13 +02:00
Update CI build to latest GitHub API
This commit is contained in:
parent
86cb9c318a
commit
6243107429
1 changed files with 2 additions and 2 deletions
4
.github/workflows/pr-build-scan-comment.yml
vendored
4
.github/workflows/pr-build-scan-comment.yml
vendored
|
@ -15,11 +15,11 @@ jobs:
|
||||||
working-directory: __tests__/samples/kotlin-dsl
|
working-directory: __tests__/samples/kotlin-dsl
|
||||||
run: ./gradlew help
|
run: ./gradlew help
|
||||||
- name: "Comment build scan url"
|
- name: "Comment build scan url"
|
||||||
uses: actions/github-script@v3
|
uses: actions/github-script@v5
|
||||||
with:
|
with:
|
||||||
github-token: ${{secrets.GITHUB_TOKEN}}
|
github-token: ${{secrets.GITHUB_TOKEN}}
|
||||||
script: |
|
script: |
|
||||||
github.issues.createComment({
|
github.rest.issues.createComment({
|
||||||
issue_number: context.issue.number,
|
issue_number: context.issue.number,
|
||||||
owner: context.repo.owner,
|
owner: context.repo.owner,
|
||||||
repo: context.repo.repo,
|
repo: context.repo.repo,
|
||||||
|
|
Loading…
Add table
Reference in a new issue