Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRemco Burema <r.burema@ultimaker.com>2022-11-04 13:57:53 +0300
committerRemco Burema <r.burema@ultimaker.com>2022-11-04 13:57:53 +0300
commit61a491f910abd2fbb69d3da02f76995ec2926c26 (patch)
treeea08f3126df20caf4f898ae6ea570345b7eaff7f
parent15f31a7c0c7c4783744180417a5ad60adfbb8145 (diff)
Restrict permissions, should only need to read here.
-rw-r--r--.github/workflows/notify.yml5
-rw-r--r--.github/workflows/notify_on_print_profile_change.yml6
2 files changed, 9 insertions, 2 deletions
diff --git a/.github/workflows/notify.yml b/.github/workflows/notify.yml
index 370b54c78b..e970952687 100644
--- a/.github/workflows/notify.yml
+++ b/.github/workflows/notify.yml
@@ -23,9 +23,12 @@ on:
required: true
type: string
-
+permissions: {}
jobs:
slackNotification:
+ permissions:
+ contents: read
+
name: Slack Notification
runs-on: ubuntu-latest
diff --git a/.github/workflows/notify_on_print_profile_change.yml b/.github/workflows/notify_on_print_profile_change.yml
index c8747a9828..a41bb00c2a 100644
--- a/.github/workflows/notify_on_print_profile_change.yml
+++ b/.github/workflows/notify_on_print_profile_change.yml
@@ -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 }} \ No newline at end of file
+ SLACK_WEBHOOK: ${{ secrets.SLACK_CURA_PPM_HOOK }}