-
Notifications
You must be signed in to change notification settings - Fork 158
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1368 from martinthomson/workflow-update
Workflow update
- Loading branch information
Showing
7 changed files
with
142 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Automatically generated CODEOWNERS | ||
# Regenerate with `make update-codeowners` | ||
draft-ietf-tls-rfc8446bis.md [email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: "Update Generated Files" | ||
# This rule is not run automatically. | ||
# It can be run manually to update all of the files that are part | ||
# of the template, specifically: | ||
# - README.md | ||
# - CONTRIBUTING.md | ||
# - .note.xml | ||
# - .github/CODEOWNERS | ||
# - Makefile | ||
# | ||
# | ||
# This might be useful if you have: | ||
# - added, removed, or renamed drafts (including after adoption) | ||
# - added, removed, or changed draft editors | ||
# - changed the title of drafts | ||
# | ||
# Note that this removes any customizations you have made to | ||
# the affected files. | ||
on: workflow_dispatch | ||
|
||
jobs: | ||
build: | ||
name: "Update Files" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: "Checkout" | ||
uses: actions/checkout@v4 | ||
|
||
- name: "Update Generated Files" | ||
uses: martinthomson/i-d-template@v1 | ||
with: | ||
make: update-files | ||
token: ${{ github.token }} | ||
|
||
- name: "Push Update" | ||
run: git push |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,23 @@ | ||
*.html | ||
*.redxml | ||
*.swp | ||
*.txt | ||
*.upload | ||
*~ | ||
.refcache | ||
.targets.mk | ||
.tags | ||
/*-[0-9][0-9].xml | ||
/.*.mk | ||
/.gems/ | ||
/.refcache | ||
/.venv/ | ||
/.vscode/ | ||
/lib | ||
/node_modules/ | ||
/package-lock.json | ||
diff-*.html | ||
draft-*.html | ||
draft-*.txt | ||
draft-*.xml | ||
lib | ||
/versioned/ | ||
Gemfile.lock | ||
archive.json | ||
draft-ietf-tls-rfc8446bis.xml | ||
package-lock.json | ||
report.xml | ||
!requirements.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,18 @@ | ||
MD_PREPROCESSOR := python3 mk-appendix.py | ||
XML_RESOURCE_ORG_PREFIX = https://xml2rfc.tools.ietf.org/public/rfc | ||
|
||
include lib/main.mk | ||
LIBDIR := lib | ||
include $(LIBDIR)/main.mk | ||
|
||
lib/main.mk: | ||
ifneq (,$(shell git submodule status lib 2>/dev/null)) | ||
$(LIBDIR)/main.mk: | ||
ifneq (,$(shell grep "path *= *$(LIBDIR)" .gitmodules 2>/dev/null)) | ||
git submodule sync | ||
git submodule update --init | ||
else | ||
git clone --depth 10 -b main https://github.com/martinthomson/i-d-template.git lib | ||
ifneq (,$(wildcard $(ID_TEMPLATE_HOME))) | ||
ln -s "$(ID_TEMPLATE_HOME)" $(LIBDIR) | ||
else | ||
git clone -q --depth 10 -b main \ | ||
https://github.com/martinthomson/i-d-template $(LIBDIR) | ||
endif | ||
endif |