mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-06 13:34:01 -06:00
Restrict permissions, should only need to read here.
This commit is contained in:
parent
15f31a7c0c
commit
61a491f910
2 changed files with 9 additions and 2 deletions
5
.github/workflows/notify.yml
vendored
5
.github/workflows/notify.yml
vendored
|
@ -23,9 +23,12 @@ on:
|
|||
required: true
|
||||
type: string
|
||||
|
||||
|
||||
permissions: {}
|
||||
jobs:
|
||||
slackNotification:
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
name: Slack Notification
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
|
|
@ -19,9 +19,13 @@ on:
|
|||
- 'resources/intent/ultimaker**'
|
||||
- 'resources/quality/ultimaker**'
|
||||
- 'resources/variants/ultimaker**'
|
||||
|
||||
permissions: {}
|
||||
jobs:
|
||||
slackNotification:
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
name: Slack Notification
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
@ -33,4 +37,4 @@ jobs:
|
|||
SLACK_COLOR: '#00FF00'
|
||||
SLACK_TITLE: Print profiles changed
|
||||
MSG_MINIMAL: commit
|
||||
SLACK_WEBHOOK: ${{ secrets.SLACK_CURA_PPM_HOOK }}
|
||||
SLACK_WEBHOOK: ${{ secrets.SLACK_CURA_PPM_HOOK }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue