Skip to content

Commit

Permalink
Merge pull request #22 from google/release-notes
Browse files Browse the repository at this point in the history
Comment and improve the release generator action.
  • Loading branch information
jaqx0r authored Nov 22, 2021
2 parents 9e72b5a + d714535 commit d8ed95a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
name: release

on:
# Test that the workflow parses on PR
pull_request:
push:
tags:
- v*

permissions:
# writes to the Releases API
contents: write

jobs:
Expand All @@ -14,7 +17,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- uses: softprops/action-gh-release@v1
# Only execute on a tag
if: startsWith(github.ref, 'refs/tags/')
with:
generate_release_notes: true
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit d8ed95a

Please sign in to comment.