actions-linter
actions-linter copied to clipboard
Problem with contains()
See screenshot:

I know the code works. I tested it.
And the syntax is documented here: https://docs.github.com/en/actions/learn-github-actions/expressions#example-using-an-array
Sorry. My bad! I misread the error.
Actually, I think it is a "bug". When we change from
${{ github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'automated-block-deploy') }}
to
github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'automated-block-deploy')
the linting error went away.