Skip to content

Commit 5736263

Browse files
authored
Pin GitHub Actions to commit SHAs (#3615)
1 parent 2b4141d commit 5736263

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/auto-labeller.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
steps:
1616
- name: Extract component name and details
1717
id: extract
18-
uses: actions/github-script@v7.0.1
18+
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
1919
with:
2020
script: |
2121
// For edited discussions, we need to fetch the full discussion body
@@ -67,7 +67,7 @@ jobs:
6767
6868
- name: Find matching components
6969
id: find_components
70-
uses: actions/github-script@v7.0.1
70+
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
7171
with:
7272
script: |
7373
const componentName = '${{ steps.extract.outputs.component_name }}';
@@ -130,7 +130,7 @@ jobs:
130130
131131
- name: Apply integration label
132132
if: ${{ steps.find_components.outputs.found != 'error' && steps.find_components.outputs.found != 'none' }}
133-
uses: actions/github-script@v7.0.1
133+
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
134134
with:
135135
script: |
136136
const domain = '${{ steps.find_components.outputs.domain }}';

.github/workflows/lock.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
lock:
1717
runs-on: ubuntu-latest
1818
steps:
19-
- uses: dessant/lock-threads@v3
19+
- uses: dessant/lock-threads@e460dfeb36e731f3aeb214be6b0c9a9d9a67eda6 # v3.0.0
2020
with:
2121
pr-inactive-days: "1"
2222
pr-lock-reason: ""

0 commit comments

Comments
 (0)