mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
set token permissions
see https://github.com/inventree/InvenTree/security/code-scanning/48
This commit is contained in:
parent
1261d7d7cf
commit
6deb33000f
3
.github/workflows/backport.yml
vendored
3
.github/workflows/backport.yml
vendored
@ -9,6 +9,9 @@ on:
|
||||
pull_request_target:
|
||||
types: [ "labeled", "closed" ]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
backport:
|
||||
name: Backport PR
|
||||
|
3
.github/workflows/check_translations.yaml
vendored
3
.github/workflows/check_translations.yaml
vendored
@ -11,6 +11,9 @@ on:
|
||||
env:
|
||||
python_version: 3.9
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
|
||||
check:
|
||||
|
2
.github/workflows/qc_checks.yaml
vendored
2
.github/workflows/qc_checks.yaml
vendored
@ -22,6 +22,8 @@ env:
|
||||
INVENTREE_BACKUP_DIR: ../test_inventree_backup
|
||||
INVENTREE_SITE_URL: http://localhost:8000
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
jobs:
|
||||
paths-filter:
|
||||
name: Filter
|
||||
|
3
.github/workflows/release.yml
vendored
3
.github/workflows/release.yml
vendored
@ -5,6 +5,9 @@ on:
|
||||
release:
|
||||
types: [ published ]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
|
||||
stable:
|
||||
|
3
.github/workflows/translations.yml
vendored
3
.github/workflows/translations.yml
vendored
@ -9,6 +9,9 @@ env:
|
||||
python_version: 3.9
|
||||
node_version: 16
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user