Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 12 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,13 @@ jobs:
persist-credentials: 'false'
- name: Generate GitHub App token
id: generate_token
uses: tibdex/github-app-token@v2
# SECURITY FIX (Finding 2 - TeamPCP audit): Using official GitHub-maintained action
# instead of third-party tibdex. Pinned to SHA for supply chain safety.
# actions/create-github-app-token v3 -> sha f8d387b68d61c58ab83c6c016672934102569859
uses: actions/create-github-app-token@f8d387b68d61c58ab83c6c016672934102569859 # v3
with:
app_id: ${{ secrets.HAWKY_APP_ID }}
private_key: ${{ secrets.HAWKY_APP_PRIVATE_KEY }}
app-id: ${{ secrets.HAWKY_APP_ID }}
private-key: ${{ secrets.HAWKY_APP_PRIVATE_KEY }}
- name: Set up git for pushing
run: |
git remote set-url origin https://x-access-token:${{ steps.generate_token.outputs.token }}@github.com/${{ github.repository }}.git
Expand Down Expand Up @@ -96,10 +99,13 @@ jobs:
persist-credentials: 'false'
- name: Generate GitHub App token
id: generate_token
uses: tibdex/github-app-token@v2
# SECURITY FIX (Finding 2 - TeamPCP audit): Pinned to commit SHA instead of
# mutable @v2 tag.
# Pin: v2.1.0 -> sha 3beb63f4bd073e61482598c45c71c1019b59b73a
uses: actions/create-github-app-token@f8d387b68d61c58ab83c6c016672934102569859 # v3
with:
app_id: ${{ secrets.HAWKY_APP_ID }}
private_key: ${{ secrets.HAWKY_APP_PRIVATE_KEY }}
app-id: ${{ secrets.HAWKY_APP_ID }}
private-key: ${{ secrets.HAWKY_APP_PRIVATE_KEY }}
- name: Set up git for pushing
run: |
git remote set-url origin https://x-access-token:${{ steps.generate_token.outputs.token }}@github.com/${{ github.repository }}.git
Expand Down
27 changes: 17 additions & 10 deletions .github/workflows/prepare-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,13 @@ jobs:
pip install .
- name: Generate GitHub App token
id: generate_token
uses: tibdex/github-app-token@v2
# SECURITY FIX (Finding 2 - TeamPCP audit): Using official GitHub-maintained action
# instead of third-party tibdex. Pinned to SHA for supply chain safety.
# actions/create-github-app-token v3 -> sha f8d387b68d61c58ab83c6c016672934102569859
uses: actions/create-github-app-token@f8d387b68d61c58ab83c6c016672934102569859 # v3
with:
app_id: ${{ secrets.HAWKY_APP_ID }}
private_key: ${{ secrets.HAWKY_APP_PRIVATE_KEY }}
app-id: ${{ secrets.HAWKY_APP_ID }}
private-key: ${{ secrets.HAWKY_APP_PRIVATE_KEY }}
- name: Set up git for pushing
run: |
git remote set-url origin https://x-access-token:${{ steps.generate_token.outputs.token }}@github.com/${{ github.repository }}.git
Expand Down Expand Up @@ -87,10 +90,12 @@ jobs:
fetch-depth: 0
- name: Generate GitHub App token
id: generate_token
uses: tibdex/github-app-token@v2
# SECURITY FIX (Finding 2 - TeamPCP audit): Using official GitHub-maintained action.
# actions/create-github-app-token v3 -> sha f8d387b68d61c58ab83c6c016672934102569859
uses: actions/create-github-app-token@f8d387b68d61c58ab83c6c016672934102569859 # v3
with:
app_id: ${{ secrets.HAWKY_APP_ID }}
private_key: ${{ secrets.HAWKY_APP_PRIVATE_KEY }}
app-id: ${{ secrets.HAWKY_APP_ID }}
private-key: ${{ secrets.HAWKY_APP_PRIVATE_KEY }}
- name: Set up git for pulling latest
run: |
git remote set-url origin https://x-access-token:${{ steps.generate_token.outputs.token }}@github.com/${{ github.repository }}.git
Expand Down Expand Up @@ -132,10 +137,12 @@ jobs:
pip install .
- name: Generate GitHub App token
id: generate_token
uses: tibdex/github-app-token@v2
# SECURITY FIX (Finding 2 - TeamPCP audit): Using official GitHub-maintained action.
# actions/create-github-app-token v3 -> sha f8d387b68d61c58ab83c6c016672934102569859
uses: actions/create-github-app-token@f8d387b68d61c58ab83c6c016672934102569859 # v3
with:
app_id: ${{ secrets.HAWKY_APP_ID }}
private_key: ${{ secrets.HAWKY_APP_PRIVATE_KEY }}
app-id: ${{ secrets.HAWKY_APP_ID }}
private-key: ${{ secrets.HAWKY_APP_PRIVATE_KEY }}
- name: Set up git for pushing
run: |
git remote set-url origin https://x-access-token:${{ steps.generate_token.outputs.token }}@github.com/${{ github.repository }}.git
Expand All @@ -151,4 +158,4 @@ jobs:
run: bumpver update --patch --commit
- name: Push patch version bump commit
run: |
git push origin HEAD:main
git push origin HEAD:main
Loading