mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 08:05:54 +08:00
Restrict permissions, should only need to read here.
This commit is contained in:
parent
15f31a7c0c
commit
61a491f910
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…
x
Reference in New Issue
Block a user