File tree Expand file tree Collapse file tree 4 files changed +87
-0
lines changed
Expand file tree Collapse file tree 4 files changed +87
-0
lines changed Original file line number Diff line number Diff line change 1+ version : 2
2+ updates :
3+ - package-ecosystem : " maven"
4+ directories :
5+ - " /"
6+ schedule :
7+ interval : " daily"
8+ - package-ecosystem : " github-actions"
9+ directory : " .github/workflows"
10+ schedule :
11+ interval : " daily"
Original file line number Diff line number Diff line change 1+ name : Deploy to Maven Central
2+ on :
3+ workflow_dispatch :
4+ inputs :
5+ version-increment :
6+ description : ' Version-increment'
7+ required : true
8+ type : choice
9+ options :
10+ - patch
11+ - minor
12+ - major
13+
14+ jobs :
15+ deploy-maven :
16+ uses : entur/abt-gha-public/.github/workflows/maven-open-source-increment-version-and-release-to-maven-central.yml@v1.0.0
17+ secrets : inherit
18+ with :
19+ version-increment : ${{ inputs.version-increment }}
20+
21+ post-failure-to-slack :
22+ needs : deploy-maven
23+ if : failure()
24+ uses : entur/gha-slack/.github/workflows/post.yml@v2
25+ with :
26+ channel_id : ${{ vars.CHANNEL_ID }}
27+ message : " 🔴 Maven artifact deploy failed for ${{ github.repository }}\n ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
28+ secrets : inherit
29+
30+ post-success-to-slack :
31+ needs : deploy-maven
32+ if : success()
33+ uses : entur/gha-slack/.github/workflows/post.yml@v2
34+ with :
35+ channel_id : ${{ vars.CHANNEL_ID}}
36+ message : " 🟢 Maven artifact deploy success for ${{ github.repository }}\n ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
37+ secrets : inherit
38+
39+
Original file line number Diff line number Diff line change 1+ name : Verify master
2+ on :
3+ push :
4+ branches :
5+ - master
6+
7+ jobs :
8+ verify-main :
9+ uses : entur/abt-gha-public/.github/workflows/maven-open-source-verify.yml@v1.0.0
10+
11+ post-failure-to-slack :
12+ needs : verify-main
13+ if : failure()
14+ uses : entur/gha-slack/.github/workflows/post.yml@v2
15+ with :
16+ channel_id : ${{ vars.CHANNEL_ID }}
17+ message : " 🔴 Maven build failed for ${{ github.repository }}\n ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
18+ secrets : inherit
19+
20+ post-success-to-slack :
21+ needs : verify-main
22+ if : success()
23+ uses : entur/gha-slack/.github/workflows/post.yml@v2
24+ with :
25+ channel_id : ${{ vars.CHANNEL_ID}}
26+ message : " 🟢 Maven build success for ${{ github.repository }}\n ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
27+ secrets : inherit
Original file line number Diff line number Diff line change 1+ name : Verify PR
2+ on :
3+ pull_request :
4+ types :
5+ - synchronize
6+ - opened
7+
8+ jobs :
9+ verify-pr :
10+ uses : entur/abt-gha-public/.github/workflows/maven-open-source-verify.yml@v1.0.0
You can’t perform that action at this time.
0 commit comments