File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : Merge Dependabot PR
1+ name : Dependabot - Auto-merge PR
22
33on :
44 pull_request :
@@ -12,6 +12,6 @@ run-name: Merge Dependabot PR ${{ github.ref_name }}
1212jobs :
1313 merge-dependabot-pr :
1414 permissions : write-all
15- uses : spring-io/spring-github-workflows/.github/workflows/spring-merge-dependabot-pr.yml@fa7e8a8f981064983e9468225e052f14af7c67d4
15+ uses : spring-io/spring-github-workflows/.github/workflows/spring-merge-dependabot-pr.yml@0c09eb4023e17dd6ca395a0f4e406a4f7506a58d # main
1616 with :
1717 mergeArguments : --auto --rebase
Original file line number Diff line number Diff line change 1+ name : Dependabot - Build Pull Request
2+
3+ on : pull_request
4+
5+ permissions :
6+ contents : read
7+
8+ env :
9+ JAVA_VERSION : ' 17'
10+
11+ jobs :
12+ build :
13+ name : Build
14+ runs-on : ${{ vars.UBUNTU_RUNS_ON }}
15+ if : github.actor == 'dependabot[bot]'
16+ steps :
17+ - uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
18+ - id : secrets
19+ uses : ./.github/actions/compute-secrets
20+ - uses : spring-io/spring-security-actions/pr-build@96df48300f5fa058d0765832d48a534cc6a378d5 # 0.0.3
21+ env :
22+ ORG_GRADLE_PROJECT_artifactoryUsername : ${{ secrets[steps.secrets.outputs.dependabot-username] }}
23+ ORG_GRADLE_PROJECT_artifactoryPassword : ${{ secrets[steps.secrets.outputs.dependabot-password] }}
24+ with :
25+ java-version : ${{ env.JAVA_VERSION }}
26+ build-check :
27+ name : Build
28+ needs : build
29+ if : failure() || cancelled()
30+ runs-on : ubuntu-latest
31+ steps :
32+ - run : exit 1
Original file line number Diff line number Diff line change 11name : Deploy Docs
22on :
33 push :
4- branches-ignore :
5- - " gh-pages"
6- - " dependabot/**"
7- tags : ' **'
8- repository_dispatch :
9- types : request-build-reference # legacy
10- # schedule:
11- # - cron: '0 10 * * *' # Once per day at 10am UTC
4+ branches :
5+ - " *.x"
6+ - " main"
127 workflow_dispatch :
138permissions : read-all
149jobs :
1510 build :
1611 runs-on : ubuntu-latest
17- if : github.repository_owner == 'spring-projects'
12+ if : github.repository == 'spring-projects/spring-session '
1813 steps :
19- - name : Checkout
20- uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
21- with :
22- ref : docs-build
23- fetch-depth : 1
24- - name : Dispatch (partial build)
25- if : github.ref_type == 'branch'
26- env :
27- GH_TOKEN : ${{ secrets.GH_ACTIONS_REPO_TOKEN }}
28- run : gh workflow run deploy-docs.yml -r $(git rev-parse --abbrev-ref HEAD) -f build-refname=${{ github.ref_name }}
29- - name : Dispatch (full build)
30- if : github.ref_type == 'tag'
31- env :
32- GH_TOKEN : ${{ secrets.GH_ACTIONS_REPO_TOKEN }}
33- run : gh workflow run deploy-docs.yml -r $(git rev-parse --abbrev-ref HEAD)
14+ - name : Checkout
15+ uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
16+ with :
17+ ref : docs-build
18+ fetch-depth : 1
19+ - name : Dispatch (partial build)
20+ env :
21+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
22+ run : gh workflow run deploy-docs.yml -r $(git rev-parse --abbrev-ref HEAD) -f build-refname=${{ github.ref_name }}
Load diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : Pull Request - Build
2+
3+ on : pull_request
4+
5+ permissions :
6+ contents : read
7+
8+ env :
9+ JAVA_VERSION : ' 17'
10+
11+ jobs :
12+ build :
13+ name : Build
14+ runs-on : ${{ vars.UBUNTU_RUNS_ON }}
15+ if : github.event.pull_request.head.repo.fork == false && github.actor != 'dependabot[bot]'
16+ steps :
17+ - uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
18+ - id : secrets
19+ uses : ./.github/actions/compute-secrets
20+ - uses : spring-io/spring-security-actions/pr-build@96df48300f5fa058d0765832d48a534cc6a378d5 # 0.0.3
21+ env :
22+ ORG_GRADLE_PROJECT_artifactoryUsername : ${{ secrets[steps.secrets.outputs.dependencies-username] }}
23+ ORG_GRADLE_PROJECT_artifactoryPassword : ${{ secrets[steps.secrets.outputs.dependencies-password] }}
24+ with :
25+ java-version : ${{ env.JAVA_VERSION }}
26+ build-check :
27+ name : Build
28+ needs : build
29+ if : failure() || cancelled()
30+ runs-on : ubuntu-latest
31+ steps :
32+ - run : exit 1
You can’t perform that action at this time.
0 commit comments