Release #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Create Tag | |
on: | |
pull_request: | |
branches-ignore: | |
- dev | |
types: | |
- synchronize | |
- opened | |
jobs: | |
create-tag: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Pull Request Branch | |
uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.event.pull_request.head.ref }} | |
# Creates Tag using automated changelogs | |
# conventional commit | |
# - `feat:` -> increments the middle digit `0.1.0` | |
# - `fix:` -> increments the last digit `0.0.1` | |
- name: Display Branch Information | |
run: | | |
echo "From Branch: ${{ github.event.pull_request.head.ref }}" | |
echo "To Branch: ${{ github.event.pull_request.base.ref }}" | |
- name: Conventional Changelog Action | |
id: changelog | |
uses: TriPSs/[email protected] | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
git-branch: ${{ github.event.pull_request.head.ref }} |