Skip to content

Commit

Permalink
feat: set up release-note-preview github action
Browse files Browse the repository at this point in the history
  • Loading branch information
moul committed Jul 3, 2020
1 parent 0e7a6f0 commit b699d19
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: PR

on:
pull_request:
branches: [ master ]
issue_comment:
types: [ edited ]

jobs:
preview:
name: Release-Notes Preview
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: |
git fetch --prune --unshallow --tags
- uses: snyk/release-notes-preview@v1.6.1
with:
releaseBranch: master
env:
GITHUB_PR_USERNAME: ${{ github.actor }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit b699d19

Please sign in to comment.