Skip to content

Commit

Permalink
chore(IDX): set permissions by job
Browse files Browse the repository at this point in the history
  • Loading branch information
cgundy committed Feb 17, 2025
1 parent 5b947cb commit c7caf29
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows-source/ci-pr-only.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ jobs:
id: lock-generate
if: steps.filter.outputs.lock-generate == 'true'
run: ./ci/scripts/lock-generate.sh
permissions:
pull-request: write

dependencies-check:
name: Dependency Scan for PR
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/ci-generate-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ jobs:
python-version: "3.12"
- name: Run Generate CI
id: generate-ci
permissions:
pull-request: write
run: |
python $CI_PROJECT_DIR/.github/scripts/generate-ci.py
Expand Down

0 comments on commit c7caf29

Please sign in to comment.