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 5c3a0bd commit a5be467
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/diff.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,17 @@ jobs:
newfiles=$(find "${newroot}"/release/models -name '*.yang' | tr '\n' ',')

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 }}"
})
4 changes: 2 additions & 2 deletions release/models/acl/openconfig-acl.yang
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ module openconfig-acl {
packets should be handled. Entries have a type that indicates
the type of match criteria, e.g., MAC layer, IPv4, IPv6, etc.";

oc-ext:openconfig-version "1.3.4";
oc-ext:openconfig-version "2.0.0";

revision "2023-02-06" {
description
"Add clarifying comments on use of interface-ref.";
reference "1.3.4";
reference "2.0.0";
}

revision "2023-01-29" {
Expand Down

0 comments on commit a5be467

Please sign in to comment.