Skip to content

Commit

Permalink
Test comment
Browse files Browse the repository at this point in the history
  • Loading branch information
wenovus committed Aug 3, 2023
1 parent 419a681 commit 6fbad97
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/diff.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,15 @@ jobs:
models-ci diff --disallowed-incompats --oldp "${oldroot}/third_party" --oldfiles "${oldfiles}" --newp "${newroot}/third_party" --newfiles "${newfiles}"
leafchanges=$(models-ci diff --oldp "${oldroot}/third_party" --oldfiles "${oldfiles}" --newp "${newroot}/third_party" --newfiles "${newfiles}")
echo "{leafchanges}={${leafchanges}}" >> "$GITHUB_ENV"

- name: Post comment listing YANG leaf changes
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: "${{ env.leafchanges }}"
})
echo "{leafchanges}={${leafchanges}}" >> "$GITHUB_ENV"
- name: Post comment listing YANG leaf changes
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: "${{ env.leafchanges }}"
})

0 comments on commit 6fbad97

Please sign in to comment.