File tree Expand file tree Collapse file tree 5 files changed +21
-5
lines changed Expand file tree Collapse file tree 5 files changed +21
-5
lines changed Original file line number Diff line number Diff line change 3636 echo "$DOCKER_TOKEN" | docker login --username danielflook --password-stdin
3737
3838 - name : Set up Docker Buildx
39- uses : docker/setup-buildx-action@v3
39+ uses : docker/setup-buildx-action@b5ca514318bd6ebac0fb2aedd5d36ec1b5c232a2 # v3
4040
4141 - name : Base image
4242 id : build-and-push
Original file line number Diff line number Diff line change @@ -3,6 +3,9 @@ name: Test pull_request_review event
33on :
44 - pull_request_review
55
6+ permissions :
7+ contents : read
8+
69jobs :
710 apply :
811 runs-on : ubuntu-24.04
Original file line number Diff line number Diff line change 4242 echo "$DOCKER_TOKEN" | docker login --username danielflook --password-stdin
4343
4444 - name : Set up Docker Buildx
45- uses : docker/setup-buildx-action@v3
45+ uses : docker/setup-buildx-action@b5ca514318bd6ebac0fb2aedd5d36ec1b5c232a2 # v3
4646
4747 - name : Build action image
4848 id : image_build
Original file line number Diff line number Diff line change @@ -98,15 +98,28 @@ jobs:
9898 ./actionlint example_workflows/*.yaml
9999
100100 - name : Lint CHANGELOG
101- uses : DavidAnson/markdownlint-cli2-action@v19
101+ uses : DavidAnson/markdownlint-cli2-action@05f32210e84442804257b2a6f20b273450ec8265 # v19
102102 with :
103103 config : ' .config/changelog.markdownlint.yaml'
104104 globs : ' CHANGELOG.md'
105105
106106 - name : Lint Other Markdown
107- uses : DavidAnson/markdownlint-cli2-action@v19
107+ uses : DavidAnson/markdownlint-cli2-action@05f32210e84442804257b2a6f20b273450ec8265 # v19
108108 with :
109109 config : ' .config/.markdownlint.yaml'
110110 globs : |
111111 docs/*.md
112112 **/README.md
113+
114+ ensure-pinned-actions :
115+ runs-on : ubuntu-24.04
116+ steps :
117+ - name : Checkout code
118+ uses : actions/checkout@v4
119+
120+ - name : Ensure SHA pinned actions
121+ uses : zgosalvez/github-actions-ensure-sha-pinned-actions@25ed13d0628a1601b4b44048e63cc4328ed03633 # v3
122+ with :
123+ allowlist : |
124+ actions/
125+ dflook/
Original file line number Diff line number Diff line change 1414 contents : write
1515 steps :
1616 - name : Repository Dispatch
17- uses : peter-evans/repository-dispatch@v2
17+ uses : peter-evans/repository-dispatch@bf47d102fdb849e755b0b0023ea3e81a44b6f570 # v2
1818 with :
1919 event-type : test
2020 client-payload : ' {"pull_request": { "url": "${{ github.event.pull_request.url }}" } }'
You can’t perform that action at this time.
0 commit comments