File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
infrastructure/terraform/bin Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -27,25 +27,25 @@ jobs:
2727 # Needed to publish results and get a badge (see publish_results below).
2828 id-token : write
2929 # Uncomment the permissions below if installing in a private repository.
30- # contents: read
31- # actions: read
30+ contents : read
31+ actions : read
3232
3333 steps :
3434 - name : " Checkout code"
35- uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
35+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3636 with :
3737 persist-credentials : false
3838
3939 - name : " Run analysis"
40- uses : ossf/scorecard-action@0864cf19026789058feabb7e87baa5f140aac736 # v2.3.1
40+ uses : ossf/scorecard-action@62b2cac7ed8198b15735ed49ab1e5cf35480ba46 # v2.4.0
4141 with :
4242 results_file : results.sarif
4343 results_format : sarif
4444 # (Optional) "write" PAT token. Uncomment the `repo_token` line below if:
4545 # - you want to enable the Branch-Protection check on a *public* repository, or
4646 # - you are installing Scorecard on a *private* repository
4747 # To create the PAT, follow the steps in https://github.com/ossf/scorecard-action?tab=readme-ov-file#authentication-with-fine-grained-pat-optional.
48- # repo_token: ${{ secrets.SCORECARD_TOKEN }}
48+ repo_token : ${{ secrets.SCORECARD_TOKEN }}
4949
5050 # Public repositories:
5151 # - Publish results to OpenSSF REST API for easy access by consumers
Original file line number Diff line number Diff line change @@ -403,7 +403,7 @@ readonly component_name=$(basename ${component_path});
403403# verify terraform version matches .tool-versions
404404echo ${PWD}
405405tool_version=$( grep " terraform " .tool-versions | cut -d ' ' -f 2)
406- asdf plugin- add terraform && asdf install terraform " ${tool_version} "
406+ asdf plugin add terraform && asdf install terraform " ${tool_version} "
407407current_version=$( terraform --version | head -n 1 | cut -d ' v' -f 2)
408408
409409if [ -z " ${current_version} " ] || [ " ${current_version} " != " ${tool_version} " ]; then
You can’t perform that action at this time.
0 commit comments