You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
1.3 KiB
34 lines
1.3 KiB
name: Execute Gradle Wrapper Upgrade |
|
|
|
on: |
|
schedule: |
|
- cron: '0 2 * * *' # 2am UTC |
|
workflow_dispatch: |
|
permissions: |
|
pull-requests: write |
|
jobs: |
|
upgrade_wrapper: |
|
name: Execution |
|
if: ${{ github.repository == 'spring-projects/spring-security' }} |
|
runs-on: ubuntu-latest |
|
steps: |
|
- name: Set up Git configuration |
|
env: |
|
TOKEN: ${{ secrets.GITHUB_TOKEN }} |
|
run: | |
|
git config --global url."https://unused-username:${TOKEN}@github.com/".insteadOf "https://github.com/" |
|
git config --global user.name 'github-actions[bot]' |
|
git config --global user.email 'github-actions[bot]@users.noreply.github.com' |
|
- name: Checkout |
|
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 |
|
- name: Set up JDK 25 |
|
uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0 |
|
with: |
|
java-version: '25' |
|
distribution: 'temurin' |
|
- name: Set up Gradle |
|
uses: gradle/setup-gradle@f29f5a9d7b09a7c6b29859002d29d24e1674c884 # v5.0.1 |
|
- name: Upgrade Wrappers |
|
run: ./gradlew clean upgradeGradleWrapperAll --continue -Porg.gradle.java.installations.auto-download=false |
|
env: |
|
WRAPPER_UPGRADE_GIT_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|