You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've a good hour trying to debug why the action was failing for my repo. Turns out the GITHUB_TOKEN value was blank.
By default the action uses github.token which is empty. Instead secrets.GITHUB_TOKEN needs to be used.
description: 'GitHub token needed to interact with the repository'
required: false
default: ${{ github.token }}
Also would be good to check for that in the script, because it runs all the way, but jq fails to parse response from GitHub API when it's not in an expected format. It fails but the script isn't aware why and doesn't print anything that could point to an authorization issue.
This repo is using Opire - what does it mean? 👇 💵 Everyone can add rewards for this issue commenting /reward 100 (replace 100 with the amount). 🕵️♂️ If someone starts working on this issue to earn the rewards, they can comment /try to let everyone know! 🙌 And when they open the PR, they can comment /claim #92 either in the PR description or in a PR's comment.
🪙 Also, everyone can tip any user commenting /tip 20 @manio143 (replace 20 with the amount, and @manio143 with the user to tip).
📖 If you want to learn more, check out our documentation.
The text was updated successfully, but these errors were encountered:
I've a good hour trying to debug why the action was failing for my repo. Turns out the GITHUB_TOKEN value was blank.
By default the action uses
github.token
which is empty. Insteadsecrets.GITHUB_TOKEN
needs to be used.pr-size-labeler/action.yml
Lines 4 to 7 in 1c34223
Also would be good to check for that in the script, because it runs all the way, but
jq
fails to parse response from GitHub API when it's not in an expected format. It fails but the script isn't aware why and doesn't print anything that could point to an authorization issue.Work around:
This repo is using Opire - what does it mean? 👇
💵 Everyone can add rewards for this issue commenting
/reward 100
(replace100
with the amount).🕵️♂️ If someone starts working on this issue to earn the rewards, they can comment
/try
to let everyone know!🙌 And when they open the PR, they can comment
/claim #92
either in the PR description or in a PR's comment.🪙 Also, everyone can tip any user commenting
/tip 20 @manio143
(replace20
with the amount, and@manio143
with the user to tip).📖 If you want to learn more, check out our documentation.
The text was updated successfully, but these errors were encountered: