Skip to content

update order of condition check for github action #38

update order of condition check for github action

update order of condition check for github action #38

Workflow file for this run

name: semantic-lint
on:
pull_request_target:
types:
- opened
- edited
- synchronize
permissions:
contents: read
pull-requests: read
jobs:
semantic-lint:
if: github.repository == 'ekristen/aws-nuke'
runs-on: ubuntu-latest
steps:
- name: Print debug information
run: echo "Repository: ${{ github.repository }}"

Check failure on line 20 in .github/workflows/semantic-lint.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/semantic-lint.yml

Invalid workflow file

You have an error in your yaml syntax on line 20
- uses: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}