Skip to content

Enhance release workflow #1679

Enhance release workflow

Enhance release workflow #1679

Workflow file for this run

name: Label validator
on:
pull_request_target:
types: ["opened", "labeled", "unlabeled"]
branches: [ "main" ]
jobs:
validate-labels:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Validate labels
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: scripts/label_validator.sh "PR" ${{ github.event.pull_request.number }} ${{ github.event.action }}