Skip to content

Commit f3e0946

Browse files
authored
chore: SECENG-7706 [security] Pin versions of GitHub Actions to full commit hash (#74)
1 parent a6a29b7 commit f3e0946

5 files changed

Lines changed: 11 additions & 11 deletions

File tree

‎.github/workflows/codeql.yml‎

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

3737
steps:
3838
- name: Checkout repository
39-
uses: actions/checkout@v3
39+
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
4040

4141
# Initializes the CodeQL tools for scanning.
4242
- name: Initialize CodeQL
43-
uses: github/codeql-action/init@v2
43+
uses: github/codeql-action/init@b8d3b6e8af63cde30bdc382c0bc28114f4346c88 # v2
4444
with:
4545
languages: ${{ matrix.language }}
4646
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -54,7 +54,7 @@ jobs:
5454
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
5555
# If this step fails, then you should remove it and run the build manually (see below)
5656
- name: Autobuild
57-
uses: github/codeql-action/autobuild@v2
57+
uses: github/codeql-action/autobuild@b8d3b6e8af63cde30bdc382c0bc28114f4346c88 # v2
5858

5959
# ℹ️ Command-line programs to run using the OS shell.
6060
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
@@ -67,6 +67,6 @@ jobs:
6767
# ./location_of_script_within_repo/buildscript.sh
6868

6969
- name: Perform CodeQL Analysis
70-
uses: github/codeql-action/analyze@v2
70+
uses: github/codeql-action/analyze@b8d3b6e8af63cde30bdc382c0bc28114f4346c88 # v2
7171
with:
7272
category: "/language:${{matrix.language}}"

‎.github/workflows/jira-issue-create.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111

1212
jobs:
1313
call-workflow-passing-data:
14-
uses: amplitude/Amplitude-TypeScript/.github/workflows/jira-issue-create-template.yml@main
14+
uses: amplitude/Amplitude-TypeScript/.github/workflows/jira-issue-create-template.yml@c832303a64c05b9911b6b1ad3dd8f69099f71179 # @amplitude/analytics-browser@2.36.9
1515
with:
1616
label: "Python"
1717
subcomponent: "dx_python_sdk"

‎.github/workflows/publish-to-pypi.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ jobs:
2929
id-token: write
3030
steps:
3131
- name: Checkout for release to PyPI
32-
uses: actions/checkout@v3
32+
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
3333
with:
3434
fetch-depth: 0
3535

3636
- name: Set up Python 3.9
37-
uses: actions/setup-python@v3
37+
uses: actions/setup-python@3542bca2639a428e1796aaa6a2ffef0c0f575566 # v3
3838
with:
3939
python-version: 3.9
4040

‎.github/workflows/publish-to-test-pypi.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ jobs:
2929
id-token: write
3030
steps:
3131
- name: Checkout for release to Test PyPI
32-
uses: actions/checkout@v3
32+
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
3333
with:
3434
fetch-depth: 0
3535

3636
- name: Set up Python 3.9
37-
uses: actions/setup-python@v3
37+
uses: actions/setup-python@3542bca2639a428e1796aaa6a2ffef0c0f575566 # v3
3838
with:
3939
python-version: 3.9
4040

‎.github/workflows/test.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ jobs:
1010
python-version: [ "3.8", "3.9", "3.10", "3.11", "3.12", "3.13" ]
1111
steps:
1212
- name: Checkout source code
13-
uses: actions/checkout@v3
13+
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
1414

1515
- name: Set up Python ${{ matrix.python-version }}
16-
uses: actions/setup-python@v3
16+
uses: actions/setup-python@3542bca2639a428e1796aaa6a2ffef0c0f575566 # v3
1717
with:
1818
python-version: ${{ matrix.python-version }}
1919

0 commit comments

Comments
 (0)