Upgrade to reusable workflows v2

This commit is contained in:
Artem Bilan
2024-01-13 20:47:59 -05:00
committed by GitHub
parent 263c56bb60
commit 833b847cb6
6 changed files with 7 additions and 7 deletions

View File

@@ -7,6 +7,6 @@ on:
jobs:
backport-issue:
uses: spring-io/spring-github-workflows/.github/workflows/spring-backport-issue.yml@v1
uses: spring-io/spring-github-workflows/.github/workflows/spring-backport-issue.yml@v2
secrets:
GH_ACTIONS_REPO_TOKEN: ${{ secrets.GH_ACTIONS_REPO_TOKEN }}

View File

@@ -17,7 +17,7 @@ concurrency:
jobs:
build-snapshot:
uses: spring-io/spring-github-workflows/.github/workflows/spring-artifactory-gradle-snapshot.yml@v1
uses: spring-io/spring-github-workflows/.github/workflows/spring-artifactory-gradle-snapshot.yml@v2
with:
gradleTasks: ${{ github.event_name == 'schedule' && '--rerun-tasks' || '' }}
secrets:

View File

@@ -16,4 +16,4 @@ permissions:
jobs:
dispatch-docs-build:
if: github.repository_owner == 'spring-projects'
uses: spring-io/spring-github-workflows/.github/workflows/spring-dispatch-docs-build.yml@main
uses: spring-io/spring-github-workflows/.github/workflows/spring-dispatch-docs-build.yml@v2

View File

@@ -11,4 +11,4 @@ jobs:
merge-dependabot-pr:
permissions: write-all
uses: spring-io/spring-github-workflows/.github/workflows/spring-merge-dependabot-pr.yml@v1
uses: spring-io/spring-github-workflows/.github/workflows/spring-merge-dependabot-pr.yml@v2

View File

@@ -6,5 +6,5 @@ on:
- main
jobs:
build-pull-request:
uses: spring-io/spring-github-workflows/.github/workflows/spring-gradle-pull-request-build.yml@v1
build-pull-request: it
uses: spring-io/spring-github-workflows/.github/workflows/spring-gradle-pull-request-build.yml@v2

View File

@@ -12,7 +12,7 @@ jobs:
contents: write
issues: write
uses: spring-io/spring-github-workflows/.github/workflows/spring-artifactory-gradle-release.yml@v1
uses: spring-io/spring-github-workflows/.github/workflows/spring-artifactory-gradle-release.yml@v2
secrets:
GH_ACTIONS_REPO_TOKEN: ${{ secrets.GH_ACTIONS_REPO_TOKEN }}
GRADLE_ENTERPRISE_CACHE_USER: ${{ secrets.GRADLE_ENTERPRISE_CACHE_USER }}