From f5f3062a99233051728be89b8a08ee98361006d9 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 11 Dec 2024 16:05:43 +0000 Subject: [PATCH 1/2] chore(main): release 1.6.3 --- CHANGELOG.md | 7 +++++++ version.txt | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 47dda0d..1d108f2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,13 @@ # Changelog +## [1.6.3](https://github.com/fortify/github-action/compare/v1.6.2...v1.6.3) (2024-12-11) + + +### Bug Fixes + +* `DO_PR_COMMENT`: Use `GITHUB_API_URL` environment variable instead of hardcoded api.github.com to avoid failure on GitHub Enterprise ([a804808](https://github.com/fortify/github-action/commit/a804808adae91155d7a6d272fc0fc727d99c715f)) + ## [1.6.2](https://github.com/fortify/github-action/compare/v1.6.1...v1.6.2) (2024-11-21) diff --git a/version.txt b/version.txt index fdd3be6..266146b 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -1.6.2 +1.6.3 From b73e29a9706276df27f4ae182b24451875decc9a Mon Sep 17 00:00:00 2001 From: github-actions Date: Wed, 11 Dec 2024 16:05:47 +0000 Subject: [PATCH 2/2] chore: Update action references --- action.yml | 6 +++--- fod-export/action.yml | 8 ++++---- fod-sast-scan/action.yml | 12 ++++++------ internal/fod-login/action.yml | 2 +- internal/run-script/action.yml | 2 +- internal/sc-sast-login/action.yml | 2 +- internal/ssc-login/action.yml | 2 +- package/action.yml | 6 +++--- sc-sast-scan/action.yml | 14 +++++++------- ssc-debricked-scan/action.yml | 8 ++++---- ssc-export/action.yml | 8 ++++---- 11 files changed, 35 insertions(+), 35 deletions(-) diff --git a/action.yml b/action.yml index f99c9db..270e20d 100644 --- a/action.yml +++ b/action.yml @@ -13,15 +13,15 @@ inputs: runs: using: composite steps: - - uses: fortify/github-action/fod-sast-scan@main + - uses: fortify/github-action/fod-sast-scan@v1.6.3 if: inputs['sast-scan']=='true' && env.FOD_URL env: DO_DEBRICKED_SCAN: ${{ inputs['debricked-sca-scan'] }} - - uses: fortify/github-action/sc-sast-scan@main + - uses: fortify/github-action/sc-sast-scan@v1.6.3 if: inputs['sast-scan']=='true' && env.SSC_URL env: DO_DEBRICKED_SCAN: ${{ inputs['debricked-sca-scan'] }} - - uses: fortify/github-action/ssc-debricked-scan@main + - uses: fortify/github-action/ssc-debricked-scan@v1.6.3 if: inputs['sast-scan']=='false' && inputs['debricked-sca-scan']=='true' && env.SSC_URL branding: diff --git a/fod-export/action.yml b/fod-export/action.yml index 53ab728..f0a7ec7 100644 --- a/fod-export/action.yml +++ b/fod-export/action.yml @@ -4,13 +4,13 @@ author: 'Fortify' runs: using: composite steps: - - uses: fortify/github-action/internal/set-fod-var-defaults@main - - uses: fortify/github-action/setup@main + - uses: fortify/github-action/internal/set-fod-var-defaults@v1.6.3 + - uses: fortify/github-action/setup@v1.6.3 with: export-path: false fcli: action-default - - uses: fortify/github-action/internal/fod-login@main - - uses: fortify/github-action/internal/run-script@main + - uses: fortify/github-action/internal/fod-login@v1.6.3 + - uses: fortify/github-action/internal/run-script@v1.6.3 with: script: export.sh env: diff --git a/fod-sast-scan/action.yml b/fod-sast-scan/action.yml index c423edf..47f713b 100644 --- a/fod-sast-scan/action.yml +++ b/fod-sast-scan/action.yml @@ -4,21 +4,21 @@ author: 'Fortify' runs: using: composite steps: - - uses: fortify/github-action/internal/set-fod-var-defaults@main - - uses: fortify/github-action/setup@main + - uses: fortify/github-action/internal/set-fod-var-defaults@v1.6.3 + - uses: fortify/github-action/setup@v1.6.3 with: export-path: false fcli: action-default - - uses: fortify/github-action/internal/fod-login@main - - uses: fortify/github-action/package@main - - uses: fortify/github-action/internal/run-script@main + - uses: fortify/github-action/internal/fod-login@v1.6.3 + - uses: fortify/github-action/package@v1.6.3 + - uses: fortify/github-action/internal/run-script@v1.6.3 with: script: fod-scan.sh env: DO_SAST_SCAN: true # Not used for now GITHUB_TOKEN: ${{ github.token }} - if: env.DO_EXPORT == 'true' - uses: fortify/github-action/fod-export@main + uses: fortify/github-action/fod-export@v1.6.3 branding: icon: 'shield' diff --git a/internal/fod-login/action.yml b/internal/fod-login/action.yml index e8071d9..ccdd8f6 100644 --- a/internal/fod-login/action.yml +++ b/internal/fod-login/action.yml @@ -7,7 +7,7 @@ runs: # If not run before: check preconditions, run fcli login command, and run # post-job fcli logout command. # Note that the calling action/workflow is responsible for installing fcli - - uses: fortify/github-action/internal/run-script@main + - uses: fortify/github-action/internal/run-script@v1.6.3 if: ${{ !env._FOD_LOGGED_IN }} with: script: fod-login.sh diff --git a/internal/run-script/action.yml b/internal/run-script/action.yml index f72d8f1..e380a56 100644 --- a/internal/run-script/action.yml +++ b/internal/run-script/action.yml @@ -30,7 +30,7 @@ runs: - run: echo "TEMP_DIR=$(pwd)" >> $GITHUB_ENV shell: bash working-directory: ${{ runner.temp }} - - uses: fortify/github-action/internal/run-script/js@main + - uses: fortify/github-action/internal/run-script/js@v1.6.3 with: dir: ${{ env._RUN_SCRIPTS_DIR }} script: ${{ inputs.script }} diff --git a/internal/sc-sast-login/action.yml b/internal/sc-sast-login/action.yml index e62ee76..882b867 100644 --- a/internal/sc-sast-login/action.yml +++ b/internal/sc-sast-login/action.yml @@ -11,7 +11,7 @@ runs: # If not run before: check preconditions, run fcli login command, and run # post-job fcli logout command. # Note that the calling action/workflow is responsible for installing fcli - - uses: fortify/github-action/internal/run-script@main + - uses: fortify/github-action/internal/run-script@v1.6.3 if: ${{ !env._SC_SAST_LOGGED_IN }} with: script: sc-sast-login.sh diff --git a/internal/ssc-login/action.yml b/internal/ssc-login/action.yml index 7bbe601..bf6d70d 100644 --- a/internal/ssc-login/action.yml +++ b/internal/ssc-login/action.yml @@ -7,7 +7,7 @@ runs: # If not run before: check preconditions, run fcli login command, and run # post-job fcli logout command. # Note that the calling action/workflow is responsible for installing fcli - - uses: fortify/github-action/internal/run-script@main + - uses: fortify/github-action/internal/run-script@v1.6.3 if: ${{ !env._SSC_LOGGED_IN }} with: script: ssc-login.sh diff --git a/package/action.yml b/package/action.yml index dbf9dc6..bdfea8b 100644 --- a/package/action.yml +++ b/package/action.yml @@ -4,12 +4,12 @@ author: 'Fortify' runs: using: composite steps: - - uses: fortify/github-action/internal/setup-java-for-sc-client@main - - uses: fortify/github-action/setup@main + - uses: fortify/github-action/internal/setup-java-for-sc-client@v1.6.3 + - uses: fortify/github-action/setup@v1.6.3 with: export-path: false sc-client: action-default - - uses: fortify/github-action/internal/run-script@main + - uses: fortify/github-action/internal/run-script@v1.6.3 with: script: package.sh diff --git a/sc-sast-scan/action.yml b/sc-sast-scan/action.yml index 8445fb6..3e4586a 100644 --- a/sc-sast-scan/action.yml +++ b/sc-sast-scan/action.yml @@ -4,23 +4,23 @@ author: 'Fortify' runs: using: composite steps: - - uses: fortify/github-action/internal/set-ssc-var-defaults@main - - uses: fortify/github-action/setup@main + - uses: fortify/github-action/internal/set-ssc-var-defaults@v1.6.3 + - uses: fortify/github-action/setup@v1.6.3 with: export-path: false fcli: action-default debricked-cli: ${{ env.DO_DEBRICKED_SCAN=='true' && 'action-default' || 'skip' }} - - uses: fortify/github-action/internal/ssc-login@main - - uses: fortify/github-action/internal/sc-sast-login@main - - uses: fortify/github-action/package@main - - uses: fortify/github-action/internal/run-script@main + - uses: fortify/github-action/internal/ssc-login@v1.6.3 + - uses: fortify/github-action/internal/sc-sast-login@v1.6.3 + - uses: fortify/github-action/package@v1.6.3 + - uses: fortify/github-action/internal/run-script@v1.6.3 with: script: sc-sast-and-debricked-scan.sh env: DO_SC_SAST_SCAN: true GITHUB_TOKEN: ${{ github.token }} - if: env.DO_EXPORT == 'true' - uses: fortify/github-action/ssc-export@main + uses: fortify/github-action/ssc-export@v1.6.3 branding: icon: 'shield' diff --git a/ssc-debricked-scan/action.yml b/ssc-debricked-scan/action.yml index 72ea583..a9e5e93 100644 --- a/ssc-debricked-scan/action.yml +++ b/ssc-debricked-scan/action.yml @@ -4,14 +4,14 @@ author: 'Fortify' runs: using: composite steps: - - uses: fortify/github-action/internal/set-ssc-var-defaults@main - - uses: fortify/github-action/setup@main + - uses: fortify/github-action/internal/set-ssc-var-defaults@v1.6.3 + - uses: fortify/github-action/setup@v1.6.3 with: export-path: false fcli: action-default debricked-cli: action-default - - uses: fortify/github-action/internal/ssc-login@main - - uses: fortify/github-action/internal/run-script@main + - uses: fortify/github-action/internal/ssc-login@v1.6.3 + - uses: fortify/github-action/internal/run-script@v1.6.3 with: script: sc-sast-and-debricked-scan.sh env: diff --git a/ssc-export/action.yml b/ssc-export/action.yml index 36061e2..68bb068 100644 --- a/ssc-export/action.yml +++ b/ssc-export/action.yml @@ -4,13 +4,13 @@ author: 'Fortify' runs: using: composite steps: - - uses: fortify/github-action/internal/set-ssc-var-defaults@main - - uses: fortify/github-action/setup@main + - uses: fortify/github-action/internal/set-ssc-var-defaults@v1.6.3 + - uses: fortify/github-action/setup@v1.6.3 with: export-path: false fcli: action-default - - uses: fortify/github-action/internal/ssc-login@main - - uses: fortify/github-action/internal/run-script@main + - uses: fortify/github-action/internal/ssc-login@v1.6.3 + - uses: fortify/github-action/internal/run-script@v1.6.3 with: script: export.sh env: