Skip to content

fix: use native strictEqual for the internal asserts #13

fix: use native strictEqual for the internal asserts

fix: use native strictEqual for the internal asserts #13

Workflow file for this run

name: PR Target Check
on:
pull_request_target:
types: [opened]
permissions:
pull-requests: write
jobs:
comment:
if: ${{ github.base_ref != "master" }}

Check failure on line 12 in .github/workflows/target-main.yml

View workflow run for this annotation

GitHub Actions / PR Target Check

Invalid workflow file

The workflow is not valid. .github/workflows/target-main.yml (Line: 12, Col: 9): Unexpected symbol: '"master"'. Located at position 20 within expression: github.base_ref != "master"
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@v7
with:
script: |
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: '⚠️ This pull request does not target the master branch.'
})