From efd5dd5a6f99df87a62fca1032a0d2df9cf2eb08 Mon Sep 17 00:00:00 2001 From: William Date: Tue, 6 Dec 2022 18:45:32 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20=E6=96=B0=E5=A2=9E=20release-note=20?= =?UTF-8?q?=E9=A2=84=E8=A7=88=E7=9A=84=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release-note-preview.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/release-note-preview.yml diff --git a/.github/workflows/release-note-preview.yml b/.github/workflows/release-note-preview.yml new file mode 100644 index 00000000..ddfd2e20 --- /dev/null +++ b/.github/workflows/release-note-preview.yml @@ -0,0 +1,21 @@ +name: Release-Notes-Preview + +on: + pull_request: + branches: [ master ] + issue_comment: + types: [ edited ] + +jobs: + 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 }} \ No newline at end of file