Skip to content

Commit

Permalink
Mark debug output as debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Dovyski committed Jan 16, 2020
1 parent b094fa8 commit 2c937eb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ jobs:
uses: ./ # Uses an action in the root directory
id: extract
with:
filter_push: '.[].commits'
filter_pull_request: '.pull_request.commits'
filter_push: '.pusher.name'
filter_pull_request: '.pull_request'
# Use the output from the `infos` step
- name: Show output
run: |
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ try {
core.setOutput('branch', branch);

console.log(`Filter: ${filter}`);
console.log(JSON.stringify(github.context.payload));
console.debug(JSON.stringify(github.context.payload));

jq.run(filter, JSON.stringify(github.context.payload), {
input: 'string',
Expand Down

0 comments on commit 2c937eb

Please sign in to comment.