Skip to content

Commit a9749fa

Browse files
authored
Update tooling again (#306)
* 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/workflows/update.yml * add example generation to updated workflows * fix include paths
1 parent dce1285 commit a9749fa

File tree

6 files changed

+49
-40
lines changed

6 files changed

+49
-40
lines changed

.github/workflows/archive.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
contents: write
2121
steps:
2222
- name: "Checkout"
23-
uses: actions/checkout@v4
23+
uses: actions/checkout@v5
2424

2525
# Note: No caching for this build!
2626

@@ -41,4 +41,5 @@ jobs:
4141
- name: "Save Archive"
4242
uses: actions/upload-artifact@v4
4343
with:
44+
name: archive
4445
path: archive.json

.github/workflows/ghpages.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
contents: write
2323
steps:
2424
- name: "Checkout"
25-
uses: actions/checkout@v4
25+
uses: actions/checkout@v5
2626

2727
- name: "Setup"
2828
id: setup
@@ -62,6 +62,7 @@ jobs:
6262
- name: "Archive Built Drafts"
6363
uses: actions/upload-artifact@v4
6464
with:
65+
name: drafts
6566
path: |
6667
draft-*.html
6768
draft-*.txt

.github/workflows/publish.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,11 @@ jobs:
1717
runs-on: ubuntu-latest
1818
steps:
1919
- name: "Checkout"
20-
uses: actions/checkout@v4
20+
uses: actions/checkout@v5
21+
with:
22+
# Needed for tracing file history for replacement status
23+
fetch-depth: 0
24+
fetch-tags: true
2125

2226
# See https://github.com/actions/checkout/issues/290
2327
- name: "Get Tag Annotations"
@@ -61,4 +65,5 @@ jobs:
6165
- name: "Archive Submitted Drafts"
6266
uses: actions/upload-artifact@v4
6367
with:
68+
name: published
6469
path: "versioned/draft-*-[0-9][0-9].*"

.github/workflows/update.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,11 @@ jobs:
2222
build:
2323
name: "Update Files"
2424
runs-on: ubuntu-latest
25+
permissions:
26+
contents: write
2527
steps:
2628
- name: "Checkout"
27-
uses: actions/checkout@v4
29+
uses: actions/checkout@v5
2830

2931
- name: "Update Generated Files"
3032
uses: martinthomson/i-d-template@v1

.gitignore

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
1-
*~
2-
/*-[0-9][0-9].xml
3-
archive.json
4-
draft-ietf-oauth-status-list.xml
5-
/examples/
6-
Gemfile.lock
7-
/.gems/
1+
.tags
82
*.html
9-
/.idea/
10-
/lib
11-
/.*.mk
12-
/node_modules/
13-
package-lock.json
143
*.pdf
154
*.redxml
16-
/.refcache
17-
report.xml
18-
/src/__pycache__/
195
*.swp
20-
.tags
216
*.txt
227
*.upload
8+
*~
9+
/.*.mk
10+
/.gems/
11+
/.idea/
12+
/.refcache
2313
/.venv/
24-
/versioned/
2514
/.vscode/
15+
/*-[0-9][0-9].xml
16+
/examples/
17+
/lib
18+
/node_modules/
19+
/src/__pycache__/
20+
/versioned/
21+
archive.json
22+
draft-ietf-oauth-status-list.xml
23+
Gemfile.lock
24+
package-lock.json
25+
report.xml
2626
!requirements.txt

draft-ietf-oauth-status-list.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -351,13 +351,13 @@ This section defines the data structure for a JSON-encoded Status List:
351351
The following example illustrates the JSON representation of the Status List with `bits` 1 from the example above:
352352

353353
~~~~~~~~~~
354-
{::include ./examples/status_list_encoding_json}
354+
{::include examples/status_list_encoding_json}
355355
~~~~~~~~~~
356356

357357
The following example illustrates the JSON representation of the Status List with `bits` 2 from the example above:
358358

359359
~~~~~~~~~~
360-
{::include ./examples/status_list_encoding2_json}
360+
{::include examples/status_list_encoding2_json}
361361
~~~~~~~~~~
362362

363363
See section [](#test-vectors) for more test vectors.
@@ -384,13 +384,13 @@ StatusList = {
384384
The following example illustrates the CBOR representation of the Status List in Hex:
385385

386386
~~~~~~~~~~
387-
{::include ./examples/status_list_encoding_cbor}
387+
{::include examples/status_list_encoding_cbor}
388388
~~~~~~~~~~
389389

390390
The following is the CBOR Annotated Hex output of the example above:
391391

392392
~~~~~~~~~~
393-
{::include ./examples/status_list_encoding_cbor_diag}
393+
{::include examples/status_list_encoding_cbor_diag}
394394
~~~~~~~~~~
395395

396396
See section [](#test-vectors) for more test vectors.
@@ -430,7 +430,7 @@ The following additional rules apply:
430430
The following is a non-normative example of a Status List Token in JWT format:
431431

432432
~~~~~~~~~~
433-
{::include ./examples/status_list_jwt}
433+
{::include examples/status_list_jwt}
434434
~~~~~~~~~~
435435

436436
## Status List Token in CWT Format {#status-list-token-cwt}
@@ -462,13 +462,13 @@ The following additional rules apply:
462462
The following is a non-normative example of a Status List Token in CWT format in Hex:
463463

464464
~~~~~~~~~~
465-
{::include ./examples/status_list_cwt}
465+
{::include examples/status_list_cwt}
466466
~~~~~~~~~~
467467

468468
The following is the CBOR Annotated Hex output of the example above:
469469

470470
~~~~~~~~~~
471-
{::include ./examples/status_list_cwt_diag}
471+
{::include examples/status_list_cwt_diag}
472472
~~~~~~~~~~
473473

474474
# Referenced Token {#referenced-token}
@@ -570,13 +570,13 @@ Application of additional restrictions and policies are at the discretion of the
570570
The following is a non-normative example of a Referenced Token in CWT format in Hex:
571571

572572
~~~~~~~~~~
573-
{::include ./examples/referenced_token_cwt}
573+
{::include examples/referenced_token_cwt}
574574
~~~~~~~~~~
575575

576576
The following is the CBOR Annotated Hex output of the example above:
577577

578578
~~~~~~~~~~
579-
{::include ./examples/referenced_token_cwt_diag}
579+
{::include examples/referenced_token_cwt_diag}
580580
~~~~~~~~~~
581581

582582
ISO mdoc {{ISO.mdoc}} may utilize the Status List mechanism by introducing the `status` parameter in the Mobile Security Object (MSO) as specified in Section 9.1.2. The `status` parameter uses the same encoding as a CWT as defined in {{referenced-token-cose}}.
@@ -773,7 +773,7 @@ Accept: application/statuslist+jwt
773773
HTTP/1.1 200 OK
774774
Content-Type: application/statuslist+jwt
775775

776-
{::include ./examples/status_list_jwt_raw}
776+
{::include examples/status_list_jwt_raw}
777777
~~~
778778

779779
## Status List Response {#status-list-response}
@@ -840,7 +840,7 @@ The following is a non-normative example of a response for the above Request:
840840
HTTP/1.1 200 OK
841841
Content-Type: application/statuslist+jwt
842842

843-
{::include ./examples/status_list_jwt_raw}
843+
{::include examples/status_list_jwt_raw}
844844
~~~
845845

846846
# Status List Aggregation {#aggregation}
@@ -1572,13 +1572,13 @@ status[1000345]=1
15721572
JSON encoding:
15731573

15741574
~~~~~~~~~~
1575-
{::include ./examples/status_list_encoding1_long_json}
1575+
{::include examples/status_list_encoding1_long_json}
15761576
~~~~~~~~~~
15771577

15781578
CBOR encoding:
15791579

15801580
~~~~~~~~~~
1581-
{::include ./examples/status_list_encoding1_long_cbor}
1581+
{::include examples/status_list_encoding1_long_cbor}
15821582
~~~~~~~~~~
15831583

15841584
## 2 bit Status List
@@ -1603,13 +1603,13 @@ status[1000345]=3
16031603
JSON encoding:
16041604

16051605
~~~~~~~~~~
1606-
{::include ./examples/status_list_encoding2_long_json}
1606+
{::include examples/status_list_encoding2_long_json}
16071607
~~~~~~~~~~
16081608

16091609
CBOR encoding:
16101610

16111611
~~~~~~~~~~
1612-
{::include ./examples/status_list_encoding2_long_cbor}
1612+
{::include examples/status_list_encoding2_long_cbor}
16131613
~~~~~~~~~~
16141614

16151615
## 4 bit Status List
@@ -1638,13 +1638,13 @@ status[1030205]=15
16381638
JSON encoding:
16391639

16401640
~~~~~~~~~~
1641-
{::include ./examples/status_list_encoding4_json}
1641+
{::include examples/status_list_encoding4_json}
16421642
~~~~~~~~~~
16431643

16441644
CBOR encoding:
16451645

16461646
~~~~~~~~~~
1647-
{::include ./examples/status_list_encoding4_cbor}
1647+
{::include examples/status_list_encoding4_cbor}
16481648
~~~~~~~~~~
16491649

16501650
## 8 bit Status List
@@ -1914,13 +1914,13 @@ status[19535] = 255
19141914
JSON encoding:
19151915

19161916
~~~~~~~~~~
1917-
{::include ./examples/status_list_encoding8_json}
1917+
{::include examples/status_list_encoding8_json}
19181918
~~~~~~~~~~
19191919

19201920
CBOR encoding:
19211921

19221922
~~~~~~~~~~
1923-
{::include ./examples/status_list_encoding8_cbor}
1923+
{::include examples/status_list_encoding8_cbor}
19241924
~~~~~~~~~~
19251925

19261926

0 commit comments

Comments
 (0)