You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As the context availability documentation indicates, using env isn't supported for a job's if condition. However this wasn't caught as an error by actionlint. In my case I was using a reusable workflow, so the job looked something like this:
jobs:
pr:
if: ${{ env.DO_DEPLOY }}
uses: ./.github/workflows/use-deploy-ecs.yml
with:
# args here
secrets:
# blah blah blah and so on
The text was updated successfully, but these errors were encountered:
As the context availability documentation indicates, using
env
isn't supported for a job'sif
condition. However this wasn't caught as an error by actionlint. In my case I was using a reusable workflow, so the job looked something like this:The text was updated successfully, but these errors were encountered: