reviewdog / action-actionlint

run actionlint with reviewdog
MIT License
73 stars 12 forks source link

not defined in object type error on marketplace action dorny/paths-filter@v2 #37

Closed frank-long closed 3 years ago

frank-long commented 3 years ago
 - name: Checkout repo
        uses: actions/checkout@v2
      - id: filterchanges
        uses: dorny/paths-filter@v2
        with:
          filters: 'files: .github/workflows/*.yml'
      - name: lint
        if: ${{ steps.filterchanges.outputs.files == 'true'}}

[actionlint] reported by reviewdog 🐶 property "files" is not defined in object type {changes: any} [expression]

I don't get this error with the cmd line version, workflow runs fine Can't see what's wrong with it. I'm using dorny/paths-filter@v2

frank-long commented 3 years ago

Needed to update actionlint