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

Action fails: parse error: Invalid numeric literal at line 1, column 6 #59

Open
lukehinds opened this issue Aug 21, 2023 · 7 comments
Open

Comments

@lukehinds
Copy link

I get several failures and the label is not assigned:

Usage: basename FILE [SUFFIX]

Strip directory path and .SUFFIX from FILE
parse error: Invalid numeric literal at line 1, column 4
/src/github.sh: line 29: ((: changes += : syntax error: operand expected (error token is "+= ")
parse error: Invalid numeric literal at line 1, column 6
BusyBox v1.34.1 (2022-07-19 20:11:24 UTC) multi-call binary.

Usage: basename FILE [SUFFIX]

Strip directory path and .SUFFIX from FILE
parse error: Invalid numeric literal at line 1, column 6
/src/github.sh: line 29: ((: changes += : syntax error: operand expected (error token is "+= ")
Total modifications (additions + deletions): 0
Ignoring files (if present): "pkg/generated/*""docs/*""database/mock/store.go""go.mod""go.sum"
Labeling pull request with size/xs
jq: error (at <stdin>:1): Cannot iterate over null (null)
Final labels: "size/xs"
@crishellco
Copy link

I'm seeing the same thing:

image

@lukehinds
Copy link
Author

I stopped using this action, its too unstable and prone to breaking.

@Tuizi
Copy link

Tuizi commented Nov 14, 2023

Same issue. I guess this action is not maintained anymore 🤷

@EnyMan
Copy link

EnyMan commented Nov 21, 2023

Check your github api url it should be https://api.github.com and not api.github.com.

@Tuizi
Copy link

Tuizi commented Jan 24, 2024

Are you sure @EnyMan? using https:// give the error: curl: (3) URL rejected: Malformed input to a URL function

@EnyMan
Copy link

EnyMan commented Jan 24, 2024

@Tuizi Yes we have it setn like this github_api_url: 'https://api.github.com' and it works

@johnlk
Copy link
Collaborator

johnlk commented May 14, 2024

I stopped using this action, its too unstable and prone to breaking.

@lukehinds Take a look at the latest version v.1.10.0. I thought the same thing about the project not being maintained, but I was able to connect with the maintainers and we pushed a lot of fixes recently and a couple features.

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

No branches or pull requests

5 participants