aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/create-prerelease-on-tag.yml4
-rw-r--r--.github/workflows/delay.yml5
2 files changed, 6 insertions, 3 deletions
diff --git a/.github/workflows/create-prerelease-on-tag.yml b/.github/workflows/create-prerelease-on-tag.yml
index a2d5fc57..e46f85f4 100644
--- a/.github/workflows/create-prerelease-on-tag.yml
+++ b/.github/workflows/create-prerelease-on-tag.yml
@@ -5,10 +5,12 @@ on:
- "*.*.*.*"
workflow_dispatch:
permissions:
- contents: write
+ contents: read
jobs:
build-release-publish:
runs-on: ubuntu-latest
+ permissions:
+ contents: write
steps:
- uses: actions/checkout@v3
diff --git a/.github/workflows/delay.yml b/.github/workflows/delay.yml
index 45e38cbb..11d29bd9 100644
--- a/.github/workflows/delay.yml
+++ b/.github/workflows/delay.yml
@@ -22,12 +22,13 @@ on:
description: "Max attempts"
required: false
default: "10"
-permissions:
- actions: write
+permissions: {}
jobs:
delay:
runs-on: ubuntu-latest
environment: 12hoursDelay
+ permissions:
+ actions: write
steps:
- name: Start the next attempt
uses: aurelien-baudet/workflow-dispatch@93e95b157d791ae7f42aef8f8a0d3d723eba1c31 # pin@v2