Action not triggering

I converted my old HCL syntax actions to the new format, but I’m not getting my pushes to run:

on:
  push:
    branches:
      - '*'
      - '!master'
    paths:
      - 'schemas/*'
      - 'schemas/*/*'
      - 'schemas/*/*/*'
      - 'schemas/*/*/*/*'
name: Validate Schemas
jobs:
  validate_schemas:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@master
    - name: Validate Schemas
      uses: ./.github/action-validate/

Note that my Pull Request does say “some checks have not completed”
validate_push Expected — Waiting for status to be reported
Not sure if you can see my private repo commit, but the link is here.

Fixed it; I didn’t realize my branch had a slash in it, so the wildcard “*” for branches was not picking up my branch. Really wish that wildcard behavior was more intuitive.

1 Like