Skip to content

Commit

Permalink
Move "permissions" after "on" to be consistent with other workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander01998 committed Jan 20, 2025
1 parent 52f7518 commit 97d885a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 97d885a

Please sign in to comment.