Skip to content

Commit 7a57c40

Browse files
committed
Merge branch 'main' into lelia/update-purl-endpoint-support
2 parents 213c9ba + c8efa8f commit 7a57c40

4 files changed

Lines changed: 19 additions & 5 deletions

File tree

.github/workflows/pr-preview.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,10 @@ jobs:
1111
contents: read
1212
pull-requests: write
1313
steps:
14-
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871
14+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1515
with:
1616
fetch-depth: 0
17+
persist-credentials: false
1718
- uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3
1819
with:
1920
python-version: '3.13'

.github/workflows/release.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,10 @@ jobs:
1010
id-token: write
1111
contents: read
1212
steps:
13-
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871
13+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1414
with:
1515
fetch-depth: 0
16+
persist-credentials: false
1617
- uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3
1718
with:
1819
python-version: '3.13'
@@ -27,11 +28,13 @@ jobs:
2728
2829
- name: Get Version
2930
id: version
31+
env:
32+
REF_NAME: ${{ github.ref_name }}
3033
run: |
3134
RAW_VERSION=$(hatch version)
3235
echo "VERSION=$RAW_VERSION" >> $GITHUB_ENV
33-
if [ "v$RAW_VERSION" != "${{ github.ref_name }}" ]; then
34-
echo "Error: Git tag (${{ github.ref_name }}) does not match hatch version (v$RAW_VERSION)"
36+
if [ "v$RAW_VERSION" != "$REF_NAME" ]; then
37+
echo "Error: Git tag ($REF_NAME) does not match hatch version (v$RAW_VERSION)"
3538
exit 1
3639
fi
3740

.github/workflows/version-check.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,19 @@ on:
77
- 'setup.py'
88
- 'pyproject.toml'
99

10+
permissions:
11+
contents: read
12+
pull-requests: write
13+
issues: write
14+
1015
jobs:
1116
check_version:
1217
runs-on: ubuntu-latest
1318
steps:
14-
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871
19+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1520
with:
1621
fetch-depth: 0 # Fetch all history for all branches
22+
persist-credentials: false
1723

1824
- name: Check version increment
1925
id: version_check

context7.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"url": "https://context7.com/socketdev/socket-sdk-python",
3+
"public_key": "pk_9HRbh6e3q2AL9xuPAiJYT"
4+
}

0 commit comments

Comments
 (0)