Skip to content

Commit 8b0f6bb

Browse files
authored
[docsy] Add GH workflows and fix link paths to papers (#81)
1 parent 94666c7 commit 8b0f6bb

File tree

3 files changed

+66
-4
lines changed

3 files changed

+66
-4
lines changed

.github/workflows/check-format.yml

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Files
2+
3+
on:
4+
merge_group:
5+
pull_request:
6+
push: { branches: [main] }
7+
8+
jobs:
9+
check-filenames:
10+
name: FILENAME check
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
- run: npm run check:filenames
15+
16+
check-formatting:
17+
name: FILE FORMAT
18+
runs-on: ubuntu-latest
19+
steps:
20+
- uses: actions/checkout@v4
21+
22+
- name: Create NPM cache-hash input file
23+
run: |
24+
mkdir -p tmp
25+
jq '{devDependencies, engines, gitHubActionCacheKey}' package.json > tmp/package-ci.json
26+
27+
- uses: actions/setup-node@v4
28+
with:
29+
node-version-file: .nvmrc
30+
cache: npm
31+
cache-dependency-path: tmp/package-ci.json
32+
33+
- name: Check file format
34+
run: npm run check:format --ignore-scripts

.github/workflows/check-links.yml

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Links
2+
3+
on:
4+
merge_group:
5+
pull_request:
6+
push: { branches: [main] }
7+
8+
jobs:
9+
build-and-check-links:
10+
name: BUILD and CHECK LINKS
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
15+
- name: Create NPM cache-hash input file
16+
run: |
17+
mkdir -p tmp
18+
jq '{devDependencies, engines, gitHubActionCacheKey}' package.json > tmp/package-ci.json
19+
20+
- uses: actions/setup-node@v4
21+
with:
22+
node-version-file: .nvmrc
23+
cache: npm
24+
cache-dependency-path: tmp/package-ci.json
25+
26+
- run: npm install --omit=optional
27+
28+
- run: npm run check:links

content/en/resources/publications.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ The following papers provide detailed information on securing software updater
77
systems, TUF's design, attacks on package managers, and package management
88
security:
99

10-
- [Mercury: Bandwidth-Effective Prevention of Rollback Attacks Against Community Repositories](/static/papers/prevention-rollback-attacks-atc2017.pdf)
10+
- [Mercury: Bandwidth-Effective Prevention of Rollback Attacks Against Community Repositories](/papers/prevention-rollback-attacks-atc2017.pdf)
1111

12-
- [Diplomat: Using Delegations to Protect Community Repositories](/static/papers/protect-community-repositories-nsdi2016.pdf)
12+
- [Diplomat: Using Delegations to Protect Community Repositories](/papers/protect-community-repositories-nsdi2016.pdf)
1313

14-
- [Survivable Key Compromise in Software Update Systems](/static/papers/survivable-key-compromise-ccs2010.pdf)
14+
- [Survivable Key Compromise in Software Update Systems](/papers/survivable-key-compromise-ccs2010.pdf)
1515

16-
- [A Look In the Mirror: Attacks on Package Managers](/static/papers/attacks-on-package-managers-ccs2008.pdf)
16+
- [A Look In the Mirror: Attacks on Package Managers](/papers/attacks-on-package-managers-ccs2008.pdf)
1717

1818
- [Package Management Security](/papers/package-management-security-tr08-02.pdf)

0 commit comments

Comments
 (0)