Skip to content

Commit

Permalink
Use permissions as a top-level key
Browse files Browse the repository at this point in the history
  • Loading branch information
MaksimZhukov committed May 27, 2021
1 parent 5529ce4 commit 95f0321
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release-new-action-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ on:

env:
TAG_NAME: ${{ github.event.inputs.TAG_NAME || github.event.release.tag_name }}
permissions:
contents: write

jobs:
update_tag:
name: Update the major tag to include the ${{ github.event.inputs.TAG_NAME || github.event.release.tag_name }} changes
environment:
name: releaseNewActionVersion
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Update the ${{ env.TAG_NAME }} tag
id: update-major-tag
Expand Down

0 comments on commit 95f0321

Please sign in to comment.