generated from pagopa/template-java-microservice
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ec78b2e
commit a854eed
Showing
9 changed files
with
22 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,7 @@ jobs: | |
steps: | ||
- name: Assign Me | ||
# You may pin to the exact commit or the version. | ||
uses: kentaro-m/[email protected] | ||
uses: kentaro-m/auto-assign-action@746a3a558fdd0e061f612ec9f8ff1b8a19c1a115 # v1.2.1 | ||
with: | ||
configuration-path: '.github/auto_assign.yml' | ||
|
||
|
@@ -33,7 +33,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3 | ||
|
||
- name: Formatting | ||
id: format | ||
|
@@ -43,7 +43,7 @@ jobs: | |
path: . | ||
fail-on-changes: false | ||
|
||
- uses: actions/[email protected] | ||
- uses: actions/github-script@d556feaca394842dc55e4734bf3bb9f685482fa0 # v6.3.3 | ||
if: steps.format.outcome != 'success' | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
|
@@ -77,12 +77,12 @@ jobs: | |
runs-on: ubuntu-latest | ||
name: Check Size | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Check Size | ||
uses: actions/[email protected] | ||
uses: actions/github-script@d556feaca394842dc55e4734bf3bb9f685482fa0 # v6.3.3 | ||
env: | ||
IGNORED_FILES: openapi-v1.json, openapi-v2.json, openapi-node-v1.json, openapi-node-v2.json | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,7 +35,7 @@ jobs: | |
# Steps represent a sequence of tasks that will be executed as part of the job | ||
steps: | ||
- name: Code Review | ||
uses: pagopa/github-actions-template/[email protected] | ||
uses: pagopa/github-actions-template/maven-code-review@5a544cfcc87edacde3391e4fb70228194f90ec63 # v1.10.4 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
sonar_token: ${{ secrets.SONAR_TOKEN }} | ||
|
@@ -97,7 +97,7 @@ jobs: | |
run: echo "$GITHUB_CONTEXT" | ||
|
||
- name: Delete Previous deployments | ||
uses: actions/github-script@v6 | ||
uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6 | ||
env: | ||
SHA_HEAD: ${{ (github.event_name == 'pull_request' && github.event.pull_request.head.sha) || github.sha}} | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,7 +41,7 @@ jobs: | |
persist-credentials: false | ||
|
||
# from https://github.com/pagopa/opex-dashboard-azure-action/ | ||
- uses: pagopa/[email protected] | ||
- uses: pagopa/opex-dashboard-azure-action@ece3bc2b133be74cabb50aec14cdb9b8051b886f # v1.1.2 | ||
with: | ||
environment: ${{ matrix.environment }} | ||
api-name: ${{ matrix.product }}/${{ matrix.version }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -100,7 +100,7 @@ jobs: | |
steps: | ||
- name: Make Release | ||
id: release | ||
uses: pagopa/github-actions-template/[email protected] | ||
uses: pagopa/github-actions-template/maven-release@d91a1fd0b913c9830589be5d86cdb71c90813fae # v1.5.4 | ||
with: | ||
semver: ${{ needs.setup.outputs.semver }} | ||
github_token: ${{ secrets.BOT_TOKEN_GITHUB }} | ||
|
@@ -115,7 +115,7 @@ jobs: | |
steps: | ||
- name: Build and Push | ||
id: semver | ||
uses: pagopa/github-actions-template/[email protected] | ||
uses: pagopa/github-actions-template/ghcr-build-push@d91a1fd0b913c9830589be5d86cdb71c90813fae # v1.5.4 | ||
with: | ||
branch: ${{ github.ref_name}} | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
|
@@ -138,7 +138,7 @@ jobs: | |
steps: | ||
- name: Report Status | ||
if: ${{ needs.setup.outputs.environment == 'prod' }} | ||
uses: ravsamhq/notify-slack-action@v2 | ||
uses: ravsamhq/notify-slack-action@be814b201e233b2dc673608aa46e5447c8ab13f2 # v2 | ||
with: | ||
status: ${{ needs.deploy_aks.result }} | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,13 +17,13 @@ jobs: | |
if: ${{ contains(github.event.comment.body, 'update_code') }} | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3 | ||
with: | ||
ref: ${{ github.ref }} | ||
token: ${{ secrets.BOT_TOKEN_GITHUB }} | ||
|
||
- name: Set up JDK 17 | ||
uses: actions/setup-java@v1 | ||
uses: actions/setup-java@b6e674f4b717d7b0ae3baee0fbe79f498905dfde # v1 | ||
with: | ||
java-version: 17 | ||
|
||
|
@@ -58,7 +58,7 @@ jobs: | |
if: ${{ always() && contains(needs.*.result, 'failure') }} | ||
steps: | ||
- name: Notify if Failure | ||
uses: actions/[email protected] | ||
uses: actions/github-script@d556feaca394842dc55e4734bf3bb9f685482fa0 # v6.3.3 | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
script: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters