Skip to content

Commit

Permalink
Update action with label logging (#4873)
Browse files Browse the repository at this point in the history
* Update label-issues.yml

* Try logging
  • Loading branch information
localden authored Aug 1, 2024
1 parent 75cdfec commit 984d774
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/label-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ jobs:
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
console.log('${{ steps.check_label.outputs.result }}')
const labels = JSON.parse('${{ steps.check_label.outputs.result }}');
if (labels.length > 0) {
await github.rest.issues.addLabels({
Expand Down

0 comments on commit 984d774

Please sign in to comment.