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
3 changes: 3 additions & 0 deletions .github/workflows/project_automation_set_in_review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ env:
STATUS_FIELD_ID: "PVTSSF_lADOABpemM4AEhOIzgCmnYc"
IN_REVIEW_PROJECT_OPTION_ID: "c6b49c6b"

# Workflow token unused: every step authenticates via tibdex/github-app-token.
permissions: {}

jobs:
query_and_mutate_project_fields:
if: github.repository == 'NVIDIA/cccl'
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/project_automation_set_roadmap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ env:
PROJECT_ID: "PVT_kwDOABpemM4AEhOI"
ROADMAP_FIELD_ID: "PVTSSF_lADOABpemM4AEhOIzgC_MXI"

# Workflow token unused: every step authenticates via tibdex/github-app-token.
permissions: {}

jobs:
set_roadmap_value:
if: github.repository == 'NVIDIA/cccl'
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/project_automation_sync_pr_issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ env:
WORKING_SPRINT_FIELD_ID: "PVTIF_lADOABpemM4AEhOIzgJlRho"
START_SPRINT_FIELD_ID: "PVTIF_lADOABpemM4AEhOIzgJlRhU"

# Workflow token unused: every step authenticates via tibdex/github-app-token.
permissions: {}
Comment on lines +36 to +37
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Find workflow actions not pinned to a full 40-char commit SHA.
# Expected: this flags mutable refs like tibdex/github-app-token@v1.8.0.
rg -nP '^\s*uses:\s*(?!\./)(?!docker://)[^@\s]+@(?![0-9a-fA-F]{40}\b)[^\s#]+' .github/workflows/*.yml

Repository: NVIDIA/cccl

Length of output: 4719


🏁 Script executed:

cat .github/workflows/project_automation_sync_pr_issues.yml

Repository: NVIDIA/cccl

Length of output: 9447


important: pin tibdex/github-app-token@v1.8.0 to a full commit SHA instead of mutable tag. Using a major version tag with app secrets (CCCL_AUTH_APP_ID, CCCL_AUTH_APP_PEM) creates supply-chain risk; tag can be retargeted by the action maintainer.


jobs:
query_and_mutate_project_fields:
if: github.repository == 'NVIDIA/cccl'
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/triage_rotation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ jobs:
assign_issues:
runs-on: ubuntu-latest
if: ${{ ! contains(fromJSON('["OWNER", "MEMBER", "CONTRIBUTOR", "COLLABORATOR"]'), github.event.issue.author_association)}}
permissions:
issues: write # assign user, add label, post comment via gh CLI
steps:
- name: Calculate assignee
id: calculate_assignee
Expand Down