Skip to content

Commit

Permalink
debugging comment payload
Browse files Browse the repository at this point in the history
  • Loading branch information
kenodegard committed Apr 5, 2023
1 parent b2db323 commit 30261fa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions set-commit-status/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ runs:
with:
github-token: ${{ inputs.token }}
script: |
console.log(context.payload)
const [owner, repo] = '${{ github.repository }}'.split('/');
const sha = context.payload?.pull_request?.head?.sha || '${{ github.sha }}';
core.debug(`owner: ${owner}`);
Expand Down

0 comments on commit 30261fa

Please sign in to comment.