actionlint reports that the github-token input doesn't exist. #990
-
When using actionlint workflow verification, actionlint reports that the That's nonsense of course, but looks to be because there is both a Would it make sense to update the The issue can be reproduced with a workflow which contains the following: - name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: 'latest'
github-token: ${{ secrets.GITHUB_TOKEN }} And then running the following job: actionlint:
name: 'Actionlint'
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Add problem matcher
shell: bash
run: |
curl -o actionlint-matcher.json https://raw.githubusercontent.com/rhysd/actionlint/main/.github/actionlint-matcher.json
echo "::add-matcher::actionlint-matcher.json"
- name: Check workflow files
uses: docker://rhysd/actionlint:latest
with:
args: -color |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
There is no Most likely |
Beta Was this translation helpful? Give feedback.
-
Should be fixed by rhysd/actionlint#562 and a new release. |
Beta Was this translation helpful? Give feedback.
-
@shivammathur Oh that makes perfect sense, yes. Thank you so much for figuring out where things needed to be fixed in actionlint! 🦸🏻 |
Beta Was this translation helpful? Give feedback.
-
P.S.: I'll watch the actionlint PR and will run a test again once it has been merged. |
Beta Was this translation helpful? Give feedback.
Should be fixed by rhysd/actionlint#562 and a new release.