Skip to content

Commit

Permalink
Try the action's token
Browse files Browse the repository at this point in the history
  • Loading branch information
pitag-ha committed Dec 15, 2023
1 parent ec21d95 commit ef38ab4
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/token_issue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Token issue debugging

on:
pull_request:
branches: [ master ]

jobs:
debugging:
runs-on: ubuntu-latest
permissions: write-all
steps:
- name: Write a comment on a PR
run: |
curl -LsX POST -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" -d '{"body":"Hello :)"}' "${{ github.event.pull_request.comments_url }}"
echo $?

0 comments on commit ef38ab4

Please sign in to comment.