Merge pull request #355 from greenart7c3/claude/fix-github-token-permissions-ta9p8

Add explicit permissions to GitHub Actions workflows
This commit is contained in:
greenart7c3
2026-03-27 07:54:30 -03:00
committed by GitHub
5 changed files with 16 additions and 0 deletions
+3
View File
@@ -6,6 +6,9 @@ on:
push:
branches: [master]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
@@ -6,6 +6,9 @@ on:
push:
branches: [master]
permissions:
contents: read
jobs:
check-offline-permissions:
runs-on: ubuntu-latest
+3
View File
@@ -5,6 +5,9 @@ on:
tags:
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
+4
View File
@@ -4,6 +4,10 @@ on:
push:
branches: [ master ]
permissions:
contents: write
pull-requests: write
jobs:
synchronize-with-crowdin:
runs-on: ubuntu-latest
+3
View File
@@ -5,6 +5,9 @@ on:
tags:
- 'v*'
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest