-
Notifications
You must be signed in to change notification settings - Fork 70
Open
Description
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.
Lines 4 to 7 in 1c34223
GITHUB_TOKEN: | |
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.
Work around:
steps:
- uses: codelytv/pr-size-labeler@v1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
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.
Metadata
Metadata
Assignees
Labels
No labels