Skip to content

Commit aa883a2

Browse files
authored
fix workflow permissions: add explicit permissions blocks to release.yml, deploy.yml, _diffcalc_processor.yml
1 parent fc17f5c commit aa883a2

3 files changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/_diffcalc_processor.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ jobs:
3737
name: Run
3838
runs-on: self-hosted
3939
timeout-minutes: 1440
40+
permissions:
41+
contents: read
4042

4143
outputs:
4244
target: ${{ steps.run.outputs.target }}

.github/workflows/deploy.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ on:
66
- '*.*.*'
77
- '!*-*'
88

9+
permissions: {}
10+
911
jobs:
1012
notify_pending_production_deploy:
1113
runs-on: ubuntu-latest

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ on:
4545
default: ""
4646
type: string
4747

48+
permissions: {}
49+
4850
jobs:
4951
# ═══════════════════════════════════════════════════════════════════════════════
5052
# Determine version (shared across all platform jobs)

0 commit comments

Comments
 (0)