Skip to content

chore: try this

chore: try this #39

name: Jira Issue Label Added
# on:
# issues:
# types:
# - labeled
on:
pull_request:
types:
- labeled
env:
TEAM_NAME: ${{ github.event.label.name == 'team/bear-claws' && 'Bear Claws' || github.event.label.name == 'team/honey-hackers' && 'Honey Hackers'}}
jobs:
call-workflow:
uses: stoplightio/.github/.github/workflows/jira-issue-label-added.yaml@chore/add-jira-issue-workflow-2
run: echo "$TEAM_NAME ${{ github.event.label.name }}"

Check failure on line 19 in .github/workflows/jira-issue-label-added.yaml

View workflow run for this annotation

GitHub Actions / Jira Issue Label Added

Invalid workflow file

The workflow is not valid. .github/workflows/jira-issue-label-added.yaml (Line: 19, Col: 5): Unexpected value 'run'
with:
team-name: $TEAM_NAME
secrets: inherit