From 00dbe928149bdbcf03b285cd4ce32c5f60c2c7a8 Mon Sep 17 00:00:00 2001 From: Remco Burema Date: Fri, 4 Nov 2022 12:00:39 +0100 Subject: [PATCH] Revert "Restrict permissions, should only need to read here." This reverts commit 61a491f910abd2fbb69d3da02f76995ec2926c26. --- .github/workflows/notify.yml | 5 +---- .github/workflows/notify_on_print_profile_change.yml | 6 +----- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/.github/workflows/notify.yml b/.github/workflows/notify.yml index e970952687..370b54c78b 100644 --- a/.github/workflows/notify.yml +++ b/.github/workflows/notify.yml @@ -23,12 +23,9 @@ 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 a41bb00c2a..c8747a9828 100644 --- a/.github/workflows/notify_on_print_profile_change.yml +++ b/.github/workflows/notify_on_print_profile_change.yml @@ -19,13 +19,9 @@ on: - 'resources/intent/ultimaker**' - 'resources/quality/ultimaker**' - 'resources/variants/ultimaker**' - permissions: {} jobs: slackNotification: - permissions: - contents: read - name: Slack Notification runs-on: ubuntu-latest steps: @@ -37,4 +33,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 }} \ No newline at end of file