HTTP status: 401 Failed to post comment. Status code: 401 #98
Unanswered
abhisek247767
asked this question in
Q&A
Replies: 1 comment
-
|
The 401 means the token you’re using doesn’t have permission to post comments on PRs. A few things to check:
Example fix: Add that to the top of your workflow, and it should resolve the 401 error. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
name: Auto Comment on PR Merge
on:
pull_request:
types: [closed]
jobs:
comment:
runs-on: ubuntu-latest
if: github.event.pull_request.merged == true
steps:
- name: Checkout Repository
uses: actions/checkout@v2
can someone ell why my job fail every time.. i tried with GitHub default secret token also still.
Beta Was this translation helpful? Give feedback.
All reactions