Skip to content

Use a reusable workflow for the Semver PR label check #1

Use a reusable workflow for the Semver PR label check

Use a reusable workflow for the Semver PR label check #1

name: Semver PR Label Check
on:
pull_request:
branches: [main]
types: [opened, synchronize, reopened, labeled, unlabeled]
jobs:
use_reusable_workflow:
uses: main-branch/semver_pr_label_check/.github/workflows/semver_pr_label_check.yml@main
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}

Check failure on line 12 in .github/workflows/semver_pr_label_check.yml

View workflow run for this annotation

GitHub Actions / Semver PR Label Check

Invalid workflow file

The workflow is not valid. .github/workflows/semver_pr_label_check.yml (Line: 12, Col: 19): Unrecognized named-value: 'secrets'. Located at position 1 within expression: secrets.GITHUB_TOKEN