Skip to content

Commit

Permalink
Update actions (#93)
Browse files Browse the repository at this point in the history
* Automatic update of .gitignore

* Automatic update of Makefile

* Remove old .github/workflows/ghpages.yml

* update gitignore

* Automatic update of .gitignore

* Automatic update of .github/workflows/ghpages.yml

* Automatic update of .github/workflows/publish.yml

* Automatic update of .github/workflows/archive.yml

* Automatic update of .github/CODEOWNERS
  • Loading branch information
nicorusti authored Feb 4, 2025
1 parent 4d827e9 commit c486f1c
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Automatically generated CODEOWNERS
# Regenerate with `make update-codeowners`
draft-dekater-scion-dataplane.md c_de_kater@gmx.ch nic@scion.org hitz@anapaya.net
draft-dekater-scion-dataplane.md c_de_kater@gmx.ch nic@scion.org jch@scion.org hitz@anapaya.net
4 changes: 3 additions & 1 deletion .github/workflows/archive.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ jobs:
build:
name: "Archive Issues and Pull Requests"
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: "Checkout"
uses: actions/checkout@v4
Expand All @@ -37,6 +39,6 @@ jobs:
token: ${{ github.token }}

- name: "Save Archive"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
path: archive.json
4 changes: 3 additions & 1 deletion .github/workflows/ghpages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ jobs:
build:
name: "Update Editor's Copy"
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: "Checkout"
uses: actions/checkout@v4
Expand Down Expand Up @@ -51,7 +53,7 @@ jobs:
token: ${{ github.token }}

- name: "Archive Built Drafts"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
path: |
draft-*.html
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ jobs:
with:
make: upload
env:
UPLOAD_EMAIL: ${{ inputs.email }}
UPLOAD_EMAIL: ${{ inputs.email }}

- name: "Archive Submitted Drafts"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
path: "versioned/draft-*-[0-9][0-9].*"
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@
*.txt
*.upload
*~
.DS_Store
.tags
/*-[0-9][0-9].xml
/.*.mk
/.gems/
/.refcache
/.targets.mk
/.venv/
/.vscode/
/lib
Expand All @@ -18,7 +19,6 @@
Gemfile.lock
archive.json
draft-dekater-scion-dataplane.xml
.DS_Store
package-lock.json
report.xml
!requirements.txt
10 changes: 7 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,12 @@ include $(LIBDIR)/main.mk
$(LIBDIR)/main.mk:
ifneq (,$(shell grep "path *= *$(LIBDIR)" .gitmodules 2>/dev/null))
git submodule sync
git submodule update $(CLONE_ARGS) --init
git submodule update --init
else
git clone -q --depth 10 $(CLONE_ARGS) \
-b main https://github.com/martinthomson/i-d-template $(LIBDIR)
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

0 comments on commit c486f1c

Please sign in to comment.