Skip to content

Commit e9bdf1b

Browse files
authored
Make gradle update PRs run workflows (#944)
1 parent 5bb0074 commit e9bdf1b

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/update-gradle-wrappers-daily.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,17 @@ jobs:
1313
steps:
1414
- uses: actions/checkout@v3
1515

16+
- name: Set up JDK for running Gradle
17+
uses: actions/setup-java@v3
18+
with:
19+
distribution: temurin
20+
java-version: 17
21+
1622
- name: Update Gradle Wrapper
1723
uses: gradle-update/update-gradle-wrapper-action@v1
24+
with:
25+
# not using secrets.GITHUB_TOKEN since pull requests from that token do not run workflows
26+
github-token: ${{ secrets.OPENTELEMETRYBOT_GITHUB_TOKEN }}
1827

1928
workflow-notification:
2029
needs:

0 commit comments

Comments
 (0)