From d13c435e96096f6a1f7ab315525613f61a7c20fc Mon Sep 17 00:00:00 2001 From: Darius Jahandarie Date: Sat, 18 Mar 2023 11:52:25 +0900 Subject: Fix cd workflow permissions (pt 2) --- .github/workflows/delay.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to '.github/workflows/delay.yml') 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 -- cgit v1.2.3