mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-17 09:35:56 +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
|
required: true
|
||||||
type: string
|
type: string
|
||||||
|
|
||||||
|
permissions: {}
|
||||||
jobs:
|
jobs:
|
||||||
slackNotification:
|
slackNotification:
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
name: Slack Notification
|
name: Slack Notification
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -19,9 +19,13 @@ on:
|
|||||||
- 'resources/intent/ultimaker**'
|
- 'resources/intent/ultimaker**'
|
||||||
- 'resources/quality/ultimaker**'
|
- 'resources/quality/ultimaker**'
|
||||||
- 'resources/variants/ultimaker**'
|
- 'resources/variants/ultimaker**'
|
||||||
|
|
||||||
permissions: {}
|
permissions: {}
|
||||||
jobs:
|
jobs:
|
||||||
slackNotification:
|
slackNotification:
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
name: Slack Notification
|
name: Slack Notification
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
@ -33,4 +37,4 @@ jobs:
|
|||||||
SLACK_COLOR: '#00FF00'
|
SLACK_COLOR: '#00FF00'
|
||||||
SLACK_TITLE: Print profiles changed
|
SLACK_TITLE: Print profiles changed
|
||||||
MSG_MINIMAL: commit
|
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