ilyam8/periodic-pr-labeler

Getting 403 during PR action

Closed this issue · 4 comments

I am receiving this kind of error:

 Run docker.io/ilyam8/periodic-pr-labeler:latest
2s
time="2020-05-22T21:08:19Z" level=fatal msg="POST https://api.github.com/repos/crim-ca/weaver/issues/153/labels: 403 Resource not accessible by integration []"
Run docker://docker.io/ilyam8/periodic-pr-labeler:latest
/usr/bin/docker run --name dockerioilyam8periodicprlabelerlatest_5df921 --label be76db --workdir /github/workspace --rm -e GITHUB_TOKEN -e GITHUB_REPOSITORY -e LABEL_MAPPINGS_FILE -e HOME -e GITHUB_JOB -e GITHUB_REF -e GITHUB_SHA -e GITHUB_REPOSITORY_OWNER -e GITHUB_RUN_ID -e GITHUB_RUN_NUMBER -e GITHUB_ACTOR -e GITHUB_WORKFLOW -e GITHUB_HEAD_REF -e GITHUB_BASE_REF -e GITHUB_EVENT_NAME -e GITHUB_WORKSPACE -e GITHUB_ACTION -e GITHUB_EVENT_PATH -e RUNNER_OS -e RUNNER_TOOL_CACHE -e RUNNER_TEMP -e RUNNER_WORKSPACE -e ACTIONS_RUNTIME_URL -e ACTIONS_RUNTIME_TOKEN -e ACTIONS_CACHE_URL -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/weaver/weaver":"/github/workspace" docker.io/ilyam8/periodic-pr-labeler:latest
time="2020-05-22T21:08:19Z" level=info msg="PR crim-ca/weaver#153 [applying]" labels="[ci tests WPS2 WPS1]"
time="2020-05-22T21:08:19Z" level=fatal msg="POST https://api.github.com/repos/crim-ca/weaver/issues/153/labels: 403 Resource not accessible by integration []"

My configuration is here :
https://github.com/crim-ca/weaver/blob/master/.github/workflows/pr-labeler.yml#L24-L32

I provide the token as intended, so I'm not sure what is not working as expected.

Hi @fmigneault i suspect it is because of github having some problems atm

I see. Thanks. Will report back if the issue happens again after they have reestablished the situation.