From 97d885a7daaea24a4ccad1c0fa90a262984dd9bb Mon Sep 17 00:00:00 2001 From: Alexander01998 Date: Mon, 20 Jan 2025 22:19:54 +0100 Subject: [PATCH] Move "permissions" after "on" to be consistent with other workflows --- .github/workflows/publish.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 1da8c65019..2f84893e5b 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,12 +1,6 @@ name: Publish Release run-name: "Publish release from ${{ github.ref_name }} branch" -permissions: - # Needed to push the tag. - contents: write - # Needed to close the milestone. - issues: write - on: workflow_dispatch: inputs: @@ -39,6 +33,12 @@ on: description: "Automatically set by the return-dispatch action (leave blank if running manually)" required: false +permissions: + # Needed to push the tag. + contents: write + # Needed to close the milestone. + issues: write + jobs: publish: runs-on: ubuntu-latest