Skip to content

feat: add sinusoidal generator and receptor_type attr #16

feat: add sinusoidal generator and receptor_type attr

feat: add sinusoidal generator and receptor_type attr #16

Workflow file for this run

name: Validate Pull Request
on:
pull_request:
types: [opened, synchronize, reopened, edited]
env:
LOCAL_PR: ${{ github.event.pull_request.head.repo.full_name == github.repository }}
TEST_TRIGGER: ${{ github.event.action == 'synchronize' || github.event.action == 'opened' || github.event.action == 'reopened'}}
jobs:
isort:
# if PR is external, trigger the tests on push or new PR
if: ${{ !env.LOCAL_PR && env.TEST_TRIGGER }}

Check failure on line 14 in .github/workflows/pull_request.yml

View workflow run for this annotation

GitHub Actions / Validate Pull Request

Invalid workflow file

The workflow is not valid. .github/workflows/pull_request.yml (Line: 14, Col: 9): Unrecognized named-value: 'env'. Located at position 2 within expression: !env.LOCAL_PR && env.TEST_TRIGGER .github/workflows/pull_request.yml (Line: 17, Col: 9): Unrecognized named-value: 'env'. Located at position 2 within expression: !env.LOCAL_PR && env.TEST_TRIGGER
uses: ./.github/workflows/isort.yml
black:
if: ${{ !env.LOCAL_PR && env.TEST_TRIGGER }}
uses: ./.github/workflows/black.yml
build:
if: ${{ !env.LOCAL_PR && env.TEST_TRIGGER }}
uses: ./.github/workflows/build.yml
validate-pr-title:
# Trigger only for local PR when PR is edited (title, description, etc.)
if: ${{ env.LOCAL_PR && github.event.action == 'edited' }}
runs-on: ubuntu-latest
steps:
- name: PR Conventional Commit Validation
uses: ytanikin/[email protected]
with:
task_types: '["feat","fix","docs","test","ci","refactor","perf","revert"]'
token: ${{ steps.app-token.outputs.token }}