Skip to content
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

Allow YAML quotes around action names #9

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

pquentin
Copy link

@pquentin pquentin commented Oct 4, 2024

I tried applying this on trustme, but this failed on this line that is using quotes: https://github.com/python-trio/trustme/blob/7b7f43596a039ef27dcf3e26e45ed138e482acfc/.github/workflows/ci.yml#L29

Actually, this does not fully fix the problem, as I end up with this diff, with a missing quote at the end:

-        uses: "actions/upload-artifact@v3"
+        uses: "actions/[email protected]

And this is not the only tools that require unquoted actions, see urllib3/urllib3#3121 for reference. So maybe throwing an error here would be best instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant