Skip to content

Commit a477516

Browse files
authored
Pin GitHub Actions to commit SHAs (#46)
Signed-off-by: Divya Madala <divyaasm@amazon.com>
1 parent aa21e78 commit a477516

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/backport.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@ jobs:
2626
steps:
2727
- name: GitHub App token
2828
id: github_app_token
29-
uses: tibdex/github-app-token@v1.5.0
29+
uses: tibdex/github-app-token@1901dc7d52169e70c27a8da37aef0d423e2867a2 # v1.5.0
3030
with:
3131
app_id: ${{ secrets.APP_ID }}
3232
private_key: ${{ secrets.APP_PRIVATE_KEY }}
3333
# opensearch-trigger-bot installation ID
3434
installation_id: 22958780
3535

3636
- name: Backport
37-
uses: VachaShah/backport@v2.2.0
37+
uses: VachaShah/backport@142d3b8a8c70dc54db515e653e5ed3c3fac64100 # v2.2.0
3838
with:
3939
github_token: ${{ steps.github_app_token.outputs.token }}
4040
head_template: backport/backport-<%= number %>-to-<%= base %>

.github/workflows/dco.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ jobs:
99
steps:
1010
- name: Get PR Commits
1111
id: 'get-pr-commits'
12-
uses: tim-actions/get-pr-commits@v1.1.0
12+
uses: tim-actions/get-pr-commits@55b867b9b28954e6f5c1a0fe2f729dc926c306d0 # v1.1.0
1313
with:
1414
token: ${{ secrets.GITHUB_TOKEN }}
1515
- name: DCO Check
16-
uses: tim-actions/dco@v1.1.0
16+
uses: tim-actions/dco@f2279e6e62d5a7d9115b0cb8e837b777b1b02e21 # v1.1.0
1717
with:
1818
commits: ${{ steps.get-pr-commits.outputs.commits }}

.github/workflows/delete_backport_branch.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ jobs:
1010
if: startsWith(github.event.pull_request.head.ref,'backport/')
1111
steps:
1212
- name: Delete merged branch
13-
uses: SvanBoxel/delete-merged-branch@main
13+
uses: SvanBoxel/delete-merged-branch@2b5b058e3db41a3328fd9a6a58fd4c2545a14353 # main
1414
env:
1515
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)