From 25b440f2e7c4800668b4c7e4372fb6ed6706ae47 Mon Sep 17 00:00:00 2001 From: kwatsen Date: Mon, 2 Mar 2026 13:49:59 +0700 Subject: [PATCH 01/10] checklist --- .github/workflows/pull_request_updated.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pull_request_updated.yml b/.github/workflows/pull_request_updated.yml index feeb5b3..a7e3672 100644 --- a/.github/workflows/pull_request_updated.yml +++ b/.github/workflows/pull_request_updated.yml @@ -13,11 +13,15 @@ jobs: - name: checklist env: COMMENT: | - # All of the following must be verified before merging to `main`. + # All of the following MUST be verified by AUTHORS before merging to `main`: - [ ] Updated "IANA Considerations" section, or N/A? - [ ] Updated "Security Considerations" section, or N/A? - [ ] Updated "Normative/Informational References" sections, or N/A? - [ ] Updated "Acknowledgements" section, or N/A? (Not GitHub users) + + # The following MUST be verified by the EDITOR before merging to `main`: + - [ ] Authors have verified all of the above? + - [ ] The XML artifact uploads to Datatracker? GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: gh pr comment https://github.com/netmod-wg/yang-xml/pull/${{github.event.number}} --body "$COMMENT" From e3d553257e2f3edaca85666beff49360c17f2e0e Mon Sep 17 00:00:00 2001 From: kwatsen Date: Mon, 2 Mar 2026 13:53:26 +0700 Subject: [PATCH 02/10] checklist --- .github/workflows/pull_request_updated.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/pull_request_updated.yml b/.github/workflows/pull_request_updated.yml index a7e3672..e6e32c1 100644 --- a/.github/workflows/pull_request_updated.yml +++ b/.github/workflows/pull_request_updated.yml @@ -22,6 +22,7 @@ jobs: # The following MUST be verified by the EDITOR before merging to `main`: - [ ] Authors have verified all of the above? - [ ] The XML artifact uploads to Datatracker? + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: gh pr comment https://github.com/netmod-wg/yang-xml/pull/${{github.event.number}} --body "$COMMENT" From e9584b33feca016f5527274d68ba4e6c894835fa Mon Sep 17 00:00:00 2001 From: kwatsen Date: Mon, 2 Mar 2026 13:56:10 +0700 Subject: [PATCH 03/10] checklist --- .github/workflows/pull_request_updated.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/pull_request_updated.yml b/.github/workflows/pull_request_updated.yml index e6e32c1..c1bc7e5 100644 --- a/.github/workflows/pull_request_updated.yml +++ b/.github/workflows/pull_request_updated.yml @@ -144,6 +144,7 @@ jobs: comment-author: 'github-actions[bot]' body-includes: 'All of the following must be verified before merging to `main`.' - run: | + echo "BODY: ${{steps.fc.outputs.comment-body}}" if ${{ contains(steps.fc.outputs.comment-body, '[ ] Updated') }} ; then echo "All checklist items must be selected." exit 1 From 591507c75d7c430946a51b4f89d01bfb50f40df9 Mon Sep 17 00:00:00 2001 From: kwatsen Date: Mon, 2 Mar 2026 13:57:04 +0700 Subject: [PATCH 04/10] checklist --- .github/workflows/pull_request_updated.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.github/workflows/pull_request_updated.yml b/.github/workflows/pull_request_updated.yml index c1bc7e5..ac5ebe7 100644 --- a/.github/workflows/pull_request_updated.yml +++ b/.github/workflows/pull_request_updated.yml @@ -18,11 +18,6 @@ jobs: - [ ] Updated "Security Considerations" section, or N/A? - [ ] Updated "Normative/Informational References" sections, or N/A? - [ ] Updated "Acknowledgements" section, or N/A? (Not GitHub users) - - # The following MUST be verified by the EDITOR before merging to `main`: - - [ ] Authors have verified all of the above? - - [ ] The XML artifact uploads to Datatracker? - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: gh pr comment https://github.com/netmod-wg/yang-xml/pull/${{github.event.number}} --body "$COMMENT" From a670c37d53cb48ea8cdd4ce897c4fd56fa217b5a Mon Sep 17 00:00:00 2001 From: kwatsen Date: Mon, 2 Mar 2026 13:59:21 +0700 Subject: [PATCH 05/10] checklist --- .github/workflows/pull_request_updated.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pull_request_updated.yml b/.github/workflows/pull_request_updated.yml index ac5ebe7..071b551 100644 --- a/.github/workflows/pull_request_updated.yml +++ b/.github/workflows/pull_request_updated.yml @@ -18,6 +18,11 @@ jobs: - [ ] Updated "Security Considerations" section, or N/A? - [ ] Updated "Normative/Informational References" sections, or N/A? - [ ] Updated "Acknowledgements" section, or N/A? (Not GitHub users) + + # The following MUST be verified by the EDITOR before merging to `main`: + - [ ] Authors have verified all of the above? + - [ ] The XML artifact uploads to Datatracker? + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: gh pr comment https://github.com/netmod-wg/yang-xml/pull/${{github.event.number}} --body "$COMMENT" @@ -137,7 +142,7 @@ jobs: with: issue-number: ${{github.event.number}} comment-author: 'github-actions[bot]' - body-includes: 'All of the following must be verified before merging to `main`.' + body-includes: 'All of the following must be verified by AUTHORS before merging to `main`.' - run: | echo "BODY: ${{steps.fc.outputs.comment-body}}" if ${{ contains(steps.fc.outputs.comment-body, '[ ] Updated') }} ; then From f0d0f301749d73c8d08abf28a50afe10f4167da8 Mon Sep 17 00:00:00 2001 From: kwatsen Date: Mon, 2 Mar 2026 14:01:57 +0700 Subject: [PATCH 06/10] checklist --- .github/workflows/pull_request_updated.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pull_request_updated.yml b/.github/workflows/pull_request_updated.yml index 071b551..709ea91 100644 --- a/.github/workflows/pull_request_updated.yml +++ b/.github/workflows/pull_request_updated.yml @@ -142,7 +142,7 @@ jobs: with: issue-number: ${{github.event.number}} comment-author: 'github-actions[bot]' - body-includes: 'All of the following must be verified by AUTHORS before merging to `main`.' + body-includes: 'All of the following MUST be verified by AUTHORS before merging to `main`.' - run: | echo "BODY: ${{steps.fc.outputs.comment-body}}" if ${{ contains(steps.fc.outputs.comment-body, '[ ] Updated') }} ; then From 1fc08c8f9adb51e616775002ccf25e1fddbba047 Mon Sep 17 00:00:00 2001 From: kwatsen Date: Mon, 2 Mar 2026 14:03:21 +0700 Subject: [PATCH 07/10] checklist --- .github/workflows/pull_request_updated.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pull_request_updated.yml b/.github/workflows/pull_request_updated.yml index 709ea91..725f025 100644 --- a/.github/workflows/pull_request_updated.yml +++ b/.github/workflows/pull_request_updated.yml @@ -142,7 +142,7 @@ jobs: with: issue-number: ${{github.event.number}} comment-author: 'github-actions[bot]' - body-includes: 'All of the following MUST be verified by AUTHORS before merging to `main`.' + body-includes: 'All of the following MUST be verified by AUTHORS before merging to `main`:' - run: | echo "BODY: ${{steps.fc.outputs.comment-body}}" if ${{ contains(steps.fc.outputs.comment-body, '[ ] Updated') }} ; then From e1ecb29ef3c7cd436e10edeef47934eb4f88edf1 Mon Sep 17 00:00:00 2001 From: kwatsen Date: Mon, 2 Mar 2026 14:04:12 +0700 Subject: [PATCH 08/10] checklist --- .github/workflows/pull_request_updated.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/pull_request_updated.yml b/.github/workflows/pull_request_updated.yml index 725f025..6cc097d 100644 --- a/.github/workflows/pull_request_updated.yml +++ b/.github/workflows/pull_request_updated.yml @@ -144,7 +144,6 @@ jobs: comment-author: 'github-actions[bot]' body-includes: 'All of the following MUST be verified by AUTHORS before merging to `main`:' - run: | - echo "BODY: ${{steps.fc.outputs.comment-body}}" if ${{ contains(steps.fc.outputs.comment-body, '[ ] Updated') }} ; then echo "All checklist items must be selected." exit 1 From 8c4723c26152a294728b4ae82975a295e9e5323f Mon Sep 17 00:00:00 2001 From: kwatsen Date: Mon, 2 Mar 2026 14:06:18 +0700 Subject: [PATCH 09/10] checklist --- .github/workflows/pull_request_updated.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/pull_request_updated.yml b/.github/workflows/pull_request_updated.yml index 6cc097d..e6e56f1 100644 --- a/.github/workflows/pull_request_updated.yml +++ b/.github/workflows/pull_request_updated.yml @@ -20,7 +20,6 @@ jobs: - [ ] Updated "Acknowledgements" section, or N/A? (Not GitHub users) # The following MUST be verified by the EDITOR before merging to `main`: - - [ ] Authors have verified all of the above? - [ ] The XML artifact uploads to Datatracker? GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} From 5a37c921964dede93f9646d47b084ef392ff6201 Mon Sep 17 00:00:00 2001 From: kwatsen Date: Mon, 2 Mar 2026 14:24:18 +0700 Subject: [PATCH 10/10] checklist --- .github/workflows/pull_request_closed.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.github/workflows/pull_request_closed.yml b/.github/workflows/pull_request_closed.yml index 04a6515..a18ea1a 100644 --- a/.github/workflows/pull_request_closed.yml +++ b/.github/workflows/pull_request_closed.yml @@ -68,3 +68,23 @@ jobs: - name: Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@v4 + + increment_git_tag: + name: Increment Git Tag + runs-on: macos-latest + needs: update_github_pages + if: github.event.pull_request.merged == true + steps: + + # checkout repo so can run `git tag` + - uses: actions/checkout@v4 + - name: Push the tag + run: | + cd mysite + ls main/ + ls -1 main/draft-yn-netmod-yang-xml-[0-9][0-9].xml + TAG=`ls -1 main/draft-yn-netmod-yang-xml-[0-9][0-9].xml | sed -e 's/\.xml$//'` + echo "TAG=$TAG" + git tag $TAG + git push --tags +