Skip to content

Commit

Permalink
post result as message on PR
Browse files Browse the repository at this point in the history
  • Loading branch information
ericLemanissier authored Jan 28, 2023
1 parent 6208cdb commit ba76599
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/linter-conan-v2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,18 @@ jobs:
jq '[map( select(.type=="error")) | group_by (.message)[] | {message: .[0].message, length: length}] | sort_by(.length) | reverse' recipes.json > recipes2.json
jq -r '.[] | " * \(.message): \(.length)"' recipes2.json >> $GITHUB_STEP_SUMMARY
- name: Post result
if: steps.changed_files.outputs.any_changed == 'true'
- uses: actions/github-script@v6
with:
script: |
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: core.summary.stringify()
})
conanfile_recipe:
name: Lint changed conanfile.py (v2 migration)
runs-on: ubuntu-latest
Expand Down

0 comments on commit ba76599

Please sign in to comment.