Skip to content

Commit 362e05b

Browse files
artembilanspring-builds
authored andcommitted
Upgrade to the latest reusable workflows
(cherry picked from commit 0f65b4d)
1 parent 2fa6d4c commit 362e05b

File tree

5 files changed

+11
-6
lines changed

5 files changed

+11
-6
lines changed

.github/workflows/backport-issue.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ on:
77

88
jobs:
99
backport-issue:
10-
uses: spring-io/spring-github-workflows/.github/workflows/spring-backport-issue.yml@v2
10+
uses: spring-io/spring-github-workflows/.github/workflows/spring-backport-issue.yml@main
1111
secrets:
1212
GH_ACTIONS_REPO_TOKEN: ${{ secrets.GH_ACTIONS_REPO_TOKEN }}

.github/workflows/ci-snapshot.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,12 @@ concurrency:
1717

1818
jobs:
1919
build-snapshot:
20-
uses: spring-io/spring-github-workflows/.github/workflows/spring-artifactory-gradle-snapshot.yml@v2
20+
uses: spring-io/spring-github-workflows/.github/workflows/spring-artifactory-gradle-snapshot.yml@main
2121
with:
2222
gradleTasks: ${{ github.event_name == 'schedule' && '--rerun-tasks' || '' }}
2323
secrets:
2424
GRADLE_ENTERPRISE_CACHE_USER: ${{ secrets.GRADLE_ENTERPRISE_CACHE_USER }}
2525
GRADLE_ENTERPRISE_CACHE_PASSWORD: ${{ secrets.GRADLE_ENTERPRISE_CACHE_PASSWORD }}
2626
GRADLE_ENTERPRISE_SECRET_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_SECRET_ACCESS_KEY }}
27-
JF_ARTIFACTORY_SPRING: ${{ secrets.JF_ARTIFACTORY_SPRING }}
27+
ARTIFACTORY_USERNAME: ${{ secrets.ARTIFACTORY_USERNAME }}
28+
ARTIFACTORY_PASSWORD: ${{ secrets.ARTIFACTORY_PASSWORD }}

.github/workflows/merge-dependabot-pr.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,6 @@ jobs:
1111
merge-dependabot-pr:
1212
permissions: write-all
1313

14-
uses: spring-io/spring-github-workflows/.github/workflows/spring-merge-dependabot-pr.yml@v2
14+
uses: spring-io/spring-github-workflows/.github/workflows/spring-merge-dependabot-pr.yml@main
15+
with:
16+
mergeArguments: --auto --squash

.github/workflows/pr-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ on:
77

88
jobs:
99
build-pull-request:
10-
uses: spring-io/spring-github-workflows/.github/workflows/spring-gradle-pull-request-build.yml@v2
10+
uses: spring-io/spring-github-workflows/.github/workflows/spring-gradle-pull-request-build.yml@main

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,15 @@ jobs:
1212
contents: write
1313
issues: write
1414

15-
uses: spring-io/spring-github-workflows/.github/workflows/spring-artifactory-gradle-release.yml@v2
15+
uses: spring-io/spring-github-workflows/.github/workflows/spring-artifactory-gradle-release.yml@main
1616
secrets:
1717
GH_ACTIONS_REPO_TOKEN: ${{ secrets.GH_ACTIONS_REPO_TOKEN }}
1818
GRADLE_ENTERPRISE_CACHE_USER: ${{ secrets.GRADLE_ENTERPRISE_CACHE_USER }}
1919
GRADLE_ENTERPRISE_CACHE_PASSWORD: ${{ secrets.GRADLE_ENTERPRISE_CACHE_PASSWORD }}
2020
GRADLE_ENTERPRISE_SECRET_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_SECRET_ACCESS_KEY }}
2121
JF_ARTIFACTORY_SPRING: ${{ secrets.JF_ARTIFACTORY_SPRING }}
22+
ARTIFACTORY_USERNAME: ${{ secrets.ARTIFACTORY_USERNAME }}
23+
ARTIFACTORY_PASSWORD: ${{ secrets.ARTIFACTORY_PASSWORD }}
2224
OSSRH_URL: ${{ secrets.OSSRH_URL }}
2325
OSSRH_S01_TOKEN_USERNAME: ${{ secrets.OSSRH_S01_TOKEN_USERNAME }}
2426
OSSRH_S01_TOKEN_PASSWORD: ${{ secrets.OSSRH_S01_TOKEN_PASSWORD }}

0 commit comments

Comments
 (0)