CodelyTV / pr-size-labeler

🏷 Visualize and optionally limit the size of your Pull Requests
https://github.com/marketplace/actions/pull-request-size-labeler
MIT License
336 stars 58 forks source link

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

Closed lukehinds closed 3 months ago

lukehinds commented 1 year ago

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 commented 1 year ago

I'm seeing the same thing:

image

lukehinds commented 1 year ago

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

Tuizi commented 10 months ago

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

EnyMan commented 9 months ago

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

Tuizi commented 7 months ago

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

EnyMan commented 7 months ago

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

johnlk commented 4 months ago

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.

johnlk commented 3 months ago

This issue was resolved with #62 and #57