Skip to content

Add logic to comment on PR, workflow triggered by PR side #38

Add logic to comment on PR, workflow triggered by PR side

Add logic to comment on PR, workflow triggered by PR side #38

Workflow file for this run

# 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 $?