File tree Expand file tree Collapse file tree 3 files changed +19
-9
lines changed
Expand file tree Collapse file tree 3 files changed +19
-9
lines changed Original file line number Diff line number Diff line change 2121 uses : actions/checkout@v4
2222
2323 - name : " Check for changes"
24- uses : dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36
24+ uses : dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
2525 id : extractor-changes
2626 with :
2727 filters : |
3535 env :
3636 GH_TOKEN : ${{ github.token }}
3737 run : |
38+ set -e
3839 gh release list -L 1 -R "advanced-security/codeql-extractor-iac"
3940
4041 gh release download \
@@ -44,14 +45,15 @@ jobs:
4445
4546 tar -zxf extractor-iac.tar.gz
4647
47- - uses : dtolnay/rust-toolchain@nightly
48+ - uses : dtolnay/rust-toolchain@4305c38b25d97ef35a8ad1f985ccf2d2242004f2 # stable
4849 if : steps.extractor-changes.outputs.src == 'true'
4950
5051 - name : " Build Extractor"
5152 if : steps.extractor-changes.outputs.src == 'true'
5253 env :
5354 GH_TOKEN : ${{ github.token }}
5455 run : |
56+ set -e
5557 gh extensions install github/gh-codeql
5658 gh codeql set-version latest
5759
6971 runs-on : ubuntu-latest
7072 steps :
7173 - uses : actions/checkout@v4
72- - uses : dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36
74+ - uses : dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
7375 id : changes
7476 with :
7577 filters : |
8688 runs-on : ubuntu-latest
8789 steps :
8890 - uses : actions/checkout@v4
89- - uses : dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36
91+ - uses : dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
9092 id : changes
9193 with :
9294 filters : |
Original file line number Diff line number Diff line change 88jobs :
99 coverage :
1010 runs-on : ubuntu-latest
11+ permissions :
12+ contents : read
13+ actions : write
1114
1215 steps :
1316 - uses : actions/checkout@v4
Original file line number Diff line number Diff line change @@ -10,15 +10,20 @@ jobs:
1010 version :
1111 runs-on : ubuntu-latest
1212
13+ permissions :
14+ contents : write
15+ pull-requests : write
16+
1317 steps :
14- - uses : actions/checkout@v4
18+ - name : " Checkout"
19+ uses : actions/checkout@v4
1520
1621 - name : Get Token
1722 id : get_workflow_token
18- uses : peter-murray/workflow-application-token-action@v4
23+ uses : actions/create-github-app-token@df432ceedc7162793a195dd1713ff69aefc7379e # v2.0.6
1924 with :
20- application_id : ${{ secrets.CODEQL_FIELD_BOT_ID }}
21- application_private_key : ${{ secrets.CODEQL_FIELD_BOT_KEY }}
25+ app-id : ${{ secrets.CODEQL_FIELD_BOT_ID }}
26+ private-key : ${{ secrets.CODEQL_FIELD_BOT_KEY }}
2227
2328 - name : " Bump Version"
2429 env :
2934 --bump "${{ github.event.inputs.bump }}"
3035
3136 - name : Create Pull Request
32- uses : peter-evans/create-pull-request@v7
37+ uses : peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8
3338 with :
3439 title : " [Bot] Version Bump - ${{ github.event.inputs.repository }}"
3540 body : " This PR was automatically generated to bump the version of IaC library and queries."
You can’t perform that action at this time.
0 commit comments