Skip to content

Commit 2b81d9f

Browse files
committed
pin actions versions
1 parent 18729e3 commit 2b81d9f

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,16 @@ jobs:
99
runs-on: ubuntu-latest
1010

1111
steps:
12-
- uses: actions/checkout@v2
12+
- uses: actions/checkout@85e6279cec87321a52edac9c87bce653a07cf6c2
1313
with:
1414
fetch-depth: 1
1515

1616
- name: Set up Python 3.11
17-
uses: actions/setup-python@v2
17+
uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55
1818
with:
1919
python-version: 3.11.11
2020

21-
- uses: actions/cache@v3
21+
- uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684
2222
with:
2323
path: ~/.cache/pip
2424
key: ${{ runner.os }}-pip-${{ hashFiles('setup.py') }}
@@ -54,12 +54,12 @@ jobs:
5454
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
5555

5656
steps:
57-
- uses: actions/checkout@v2
57+
- uses: actions/checkout@85e6279cec87321a52edac9c87bce653a07cf6c2
5858
with:
5959
fetch-depth: 1
6060

6161
- name: Set up Python ${{ matrix.python-version }}
62-
uses: actions/setup-python@v2
62+
uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55
6363
with:
6464
python-version: ${{ matrix.python-version }}
6565

.github/workflows/release.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ jobs:
1212
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
1313
steps:
1414
- name: Checkout the repository
15-
uses: actions/checkout@v2
15+
uses: actions/checkout@85e6279cec87321a52edac9c87bce653a07cf6c2
1616
with:
1717
fetch-depth: 0
1818
token: ${{ secrets.POSTHOG_BOT_GITHUB_TOKEN }}
1919

2020
- name: Set up Python
21-
uses: actions/setup-python@v2
21+
uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55
2222

2323
- name: Detect version
2424
run: echo "REPO_VERSION=$(python3 posthog/version.py)" >> $GITHUB_ENV
@@ -30,7 +30,7 @@ jobs:
3030
run: make release && make release_analytics
3131

3232
- name: Create GitHub release
33-
uses: actions/create-release@v1
33+
uses: actions/create-release@0cb9c9b65d5d1901c1f53e5e66eaf4afd303e70e # v1
3434
env:
3535
GITHUB_TOKEN: ${{ secrets.POSTHOG_BOT_GITHUB_TOKEN }}
3636
with:

0 commit comments

Comments
 (0)