Skip to content

Create a new tag automatically #12

Create a new tag automatically

Create a new tag automatically #12

Workflow file for this run

name: 🥽 Pull Request Check
on:
pull_request:
types:
- opened
- reopened
- edited
jobs:
Labeler:
permissions:
contents: read
pull-requests: write
runs-on: Ubuntu-Latest
steps:
- name: 🏷️ Add Labels to the Pull Request
uses: actions/labeler@v5
Branch-Check:
runs-on: Ubuntu-Latest
steps:
- name: 🚫 Base Branch is wrong
if: ${{ github.base_ref == 'main' && github.head_ref != 'dev' && !startsWith(github.base_ref, 'tagpr-from-') }}
run: echo "Base branch should be \`dev\`." && return 1