5
0
Fork 0
mirror of https://github.com/cycjimmy/semantic-release-action.git synced 2025-11-07 10:46:56 +00:00
semantic-release-action/.github/workflows/checkPullRequest.yml
cycjimmy 3e27c518af fix(branch): parameter branch does not work in semantic v16
parameter `branch` does not work in semantic v16(#15)

#15
2020-01-19 10:15:24 +08:00

27 lines
531 B
YAML

name: Check Pull Request
on:
pull_request:
branches:
- master
jobs:
release:
name: release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Semantic Release
uses: ./
with:
branch: master
extra_plugins: |
@semantic-release/git
@semantic-release/changelog
dry_run: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}