-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unrecognized named-value: 'secrets'. Located at position 1 within expression: secrets.GITHUB_TOKEN #69
Comments
pqt
changed the title
Cannot use
Unrecognized named-value: 'secrets'. Located at position 1 within expression: secrets.GITHUB_TOKEN
Mar 25, 2020
thank you for the report. I think the problem is with the regex. It should be enclosed with quotes. - name: PR Lint GitHub Action
uses: seferov/pr-lint-action@v1.1.0
with:
title-regex: '^\[PROJECT-\d{3,}\](\ )'
github-token: ${{ secrets.GITHUB_TOKEN }} |
🙄 I had a feeling I was missing something... Going to take a look at this shortly and check back. |
@seferov I wrapped it in quotes but it did not change the error message. It still fails to run. |
Closed
Just tested it an can confirm it works as expected now! 🎉 Nicely done. |
thank you for the report. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For some reason (might totally be me) I cannot get this workflow to run, it fails in setup
I can use other workflows fine that do similar things, but this action is the one I'd prefer to use. I tried the manual approach and the GitHub workflow helper UI. Both failed in similar fashion.
I also tried to add the following configuration but it failed in the same way.
References:
Since I'm deleting and testing on a throwaway repo, here's the exact configuration of my workflow for that given failure (with the
env
included, though the results are the same without)The text was updated successfully, but these errors were encountered: