Skip to content

Commit d54f116

Browse files
authored
Pin GitHub Actions to commit SHAs (#2115)
Signed-off-by: Yulong Ruan <ruanyl@amazon.com>
1 parent a40cd18 commit d54f116

33 files changed

Lines changed: 102 additions & 102 deletions

.github/workflows/alerting-release-e2e-workflow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
outputs:
99
tests: ${{ steps.filter.outputs.tests }}
1010
steps:
11-
- uses: dorny/paths-filter@v2
11+
- uses: dorny/paths-filter@4512585405083f25c027a35db413c2b3b9006d50 # v2
1212
id: filter
1313
with:
1414
filters: |

.github/workflows/anomaly-detection-release-e2e-workflow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
outputs:
99
tests: ${{ steps.filter.outputs.tests }}
1010
steps:
11-
- uses: dorny/paths-filter@v2
11+
- uses: dorny/paths-filter@4512585405083f25c027a35db413c2b3b9006d50 # v2
1212
id: filter
1313
with:
1414
filters: |

.github/workflows/assistant-release-e2e-workflow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
outputs:
99
tests: ${{ steps.filter.outputs.tests }}
1010
steps:
11-
- uses: dorny/paths-filter@v2
11+
- uses: dorny/paths-filter@4512585405083f25c027a35db413c2b3b9006d50 # v2
1212
id: filter
1313
with:
1414
filters: |

.github/workflows/auto-release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ jobs:
1313
steps:
1414
- name: GitHub App token
1515
id: github_app_token
16-
uses: tibdex/github-app-token@v1.5.0
16+
uses: tibdex/github-app-token@1901dc7d52169e70c27a8da37aef0d423e2867a2 # v1.5.0
1717
with:
1818
app_id: ${{ secrets.APP_ID }}
1919
private_key: ${{ secrets.APP_PRIVATE_KEY }}
2020
installation_id: 22958780
21-
- uses: actions/checkout@v2
22-
- uses: ncipollo/release-action@v1
21+
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2
22+
- uses: ncipollo/release-action@339a81892b84b4eeb0f6e744e4574d79d0d9b8dd # v1
2323
with:
2424
github_token: ${{ steps.github_app_token.outputs.token }}
2525
body: "Functional tests for OpenSearch Dashboards and OpenSearch Dashboards Plugins ${GITHUB_REF/refs\/tags\//}"

.github/workflows/backport.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
steps:
1616
- name: GitHub App token
1717
id: github_app_token
18-
uses: tibdex/github-app-token@v1.5.0
18+
uses: tibdex/github-app-token@1901dc7d52169e70c27a8da37aef0d423e2867a2 # v1.5.0
1919
with:
2020
app_id: ${{ secrets.APP_ID }}
2121
private_key: ${{ secrets.APP_PRIVATE_KEY }}
@@ -25,7 +25,7 @@ jobs:
2525
# Using fork of https://github.com/tibdex/backport
2626
# https://github.com/tibdex/backport/pull/81
2727
- name: Backport
28-
uses: VachaShah/backport@v1.1.4
28+
uses: VachaShah/backport@28c49d91ceec57d7c9f625f1031c1a4d637251f5 # v1.1.4
2929
with:
3030
github_token: ${{ steps.github_app_token.outputs.token }}
3131
branch_name: backport/backport-${{ github.event.number }}

.github/workflows/codeql-analysis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ jobs:
3838

3939
steps:
4040
- name: Checkout repository
41-
uses: actions/checkout@v2
41+
uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2
4242

4343
# Initializes the CodeQL tools for scanning.
4444
- name: Initialize CodeQL
45-
uses: github/codeql-action/init@v1
45+
uses: github/codeql-action/init@231aa2c8a89117b126725a0e11897209b7118144 # v1
4646
with:
4747
languages: ${{ matrix.language }}
4848
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -53,7 +53,7 @@ jobs:
5353
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5454
# If this step fails, then you should remove it and run the build manually (see below)
5555
- name: Autobuild
56-
uses: github/codeql-action/autobuild@v1
56+
uses: github/codeql-action/autobuild@231aa2c8a89117b126725a0e11897209b7118144 # v1
5757

5858
# ℹ️ Command-line programs to run using the OS shell.
5959
# 📚 https://git.io/JvXDl
@@ -67,4 +67,4 @@ jobs:
6767
# make release
6868

6969
- name: Perform CodeQL Analysis
70-
uses: github/codeql-action/analyze@v1
70+
uses: github/codeql-action/analyze@231aa2c8a89117b126725a0e11897209b7118144 # v1

.github/workflows/custom-import-map-dashboards-release-e2e-workflow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
outputs:
99
tests: ${{ steps.filter.outputs.tests }}
1010
steps:
11-
- uses: dorny/paths-filter@v2
11+
- uses: dorny/paths-filter@4512585405083f25c027a35db413c2b3b9006d50 # v2
1212
id: filter
1313
with:
1414
filters: |

.github/workflows/cypress-workflow-bundle-snapshot-based-windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
outputs:
1212
tests: ${{ steps.filter.outputs.tests }}
1313
steps:
14-
- uses: dorny/paths-filter@v2
14+
- uses: dorny/paths-filter@4512585405083f25c027a35db413c2b3b9006d50 # v2
1515
id: filter
1616
with:
1717
filters: |

.github/workflows/cypress-workflow-bundle-snapshot-based.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
outputs:
1212
tests: ${{ steps.filter.outputs.tests }}
1313
steps:
14-
- uses: dorny/paths-filter@v2
14+
- uses: dorny/paths-filter@4512585405083f25c027a35db413c2b3b9006d50 # v2
1515
id: filter
1616
with:
1717
filters: |

.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)