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

Fix builtins release checkout again #261

Merged

Conversation

masklinn
Copy link
Contributor

@masklinn masklinn commented Mar 3, 2025

Apparently it's still not working when scheduled (https://github.com/ua-parser/uap-python/actions/runs/13608604862) even though it works fine when triggered (https://github.com/ua-parser/uap-python/actions/runs/13636193948). The logs are the exact same until the switch fails.

Turns out `'master'` probably worked all along as a fallback, the
problem is that I was using `'master '`, with a trailing space, which
was not a branch git managed to find for obvious reason, and since I
carried the error into the fully qualified reference... is still
didn't work.

And manual triggers didn't have the issue because the tag was
`required`, so I'd have to input the tag by hand every time, and the
fallback value would be bypassed.

- fix the fallback value
- remove the requirement on `tag`, such that it's possible to manually
  trigger the action in a default state
@masklinn masklinn force-pushed the fix-builtins-release-checkout-again branch from 337d03c to 967a2bb Compare March 3, 2025 17:56
@masklinn masklinn enabled auto-merge (rebase) March 3, 2025 17:56
@masklinn
Copy link
Contributor Author

masklinn commented Mar 3, 2025

Turns out the issue was between keyboard and chair, when I applied zizmor's recs and converted the text substitution to an env in 9f170aa I added an extra space to the fallback value, and never realised it was there.

@masklinn masklinn merged commit 997990f into ua-parser:master Mar 3, 2025
26 checks passed
@masklinn masklinn deleted the fix-builtins-release-checkout-again branch March 3, 2025 18:04
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