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:
|
pull_request_target:
|
||||||
types: [ "labeled", "closed" ]
|
types: [ "labeled", "closed" ]
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
backport:
|
backport:
|
||||||
name: Backport PR
|
name: Backport PR
|
||||||
|
3
.github/workflows/check_translations.yaml
vendored
3
.github/workflows/check_translations.yaml
vendored
@ -11,6 +11,9 @@ on:
|
|||||||
env:
|
env:
|
||||||
python_version: 3.9
|
python_version: 3.9
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
check:
|
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_BACKUP_DIR: ../test_inventree_backup
|
||||||
INVENTREE_SITE_URL: http://localhost:8000
|
INVENTREE_SITE_URL: http://localhost:8000
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
jobs:
|
jobs:
|
||||||
paths-filter:
|
paths-filter:
|
||||||
name: Filter
|
name: Filter
|
||||||
|
3
.github/workflows/release.yml
vendored
3
.github/workflows/release.yml
vendored
@ -5,6 +5,9 @@ on:
|
|||||||
release:
|
release:
|
||||||
types: [ published ]
|
types: [ published ]
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
stable:
|
stable:
|
||||||
|
3
.github/workflows/translations.yml
vendored
3
.github/workflows/translations.yml
vendored
@ -9,6 +9,9 @@ env:
|
|||||||
python_version: 3.9
|
python_version: 3.9
|
||||||
node_version: 16
|
node_version: 16
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user