Skip to content

Commit

Permalink
Update release.yml (#10642)
Browse files Browse the repository at this point in the history
  • Loading branch information
sashashura committed Aug 31, 2022
1 parent b95ba3d commit eee1bf2
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/release.yml
Expand Up @@ -2,10 +2,11 @@ name: Release

on:
release:
permissions:
contents: write # for actions/upload-release-asset to upload release asset
types: [published]

permissions:
contents: read

jobs:
setup:
permissions:
Expand All @@ -20,6 +21,8 @@ jobs:
TAG: ${{ github.event.release.tag_name }}

release:
permissions:
contents: write # for actions/upload-release-asset to upload release asset
needs: setup
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit eee1bf2

Please sign in to comment.