@networkpro/blog 1.2.7 → 1.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.browserslistrc +12 -0
- package/.editorconfig +60 -0
- package/.gitattributes +199 -0
- package/.github/COMMIT_GUIDE.md +34 -0
- package/.github/ISSUE_TEMPLATE/config.yml +31 -0
- package/.github/workflows/auto-assign.yml +34 -0
- package/.github/workflows/backup-branch.yml +40 -0
- package/.github/workflows/build-and-deploy.yml +85 -0
- package/.github/workflows/check-codeql.yml +40 -0
- package/.github/workflows/dependency-review.yml +21 -0
- package/.github/workflows/publish-test.yml +154 -0
- package/.github/workflows/publish.yml +209 -0
- package/.markdownlint.mjs +32 -0
- package/.md-smart-quotes.js +31 -0
- package/.prettierignore +38 -0
- package/.prettierrc +29 -0
- package/.stylelintignore +34 -0
- package/.vscode/customData.json +69 -0
- package/.vscode/settings.json +40 -0
- package/CHANGELOG.md +106 -1
- package/assets/.gitkeep +0 -0
- package/package.json +3 -3
- package/src/.authors.yml +11 -0
- package/src/img/encryption-eff.png +0 -0
- package/src/img/encryption-eff.webp +0 -0
- package/src/posts/2025-06-23-encryption-eff.md +57 -0
- package/src/posts/drafts/.meta.yml +1 -0
package/.browserslistrc
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# .browserslistrc
|
|
2
|
+
#
|
|
3
|
+
# SPDX-License-Identifier: CC-BY-4.0 OR GPL-3.0-or-later
|
|
4
|
+
# This file is part of Network Pro.
|
|
5
|
+
#
|
|
6
|
+
# Supported browsers
|
|
7
|
+
|
|
8
|
+
defaults and fully supports es6-module
|
|
9
|
+
maintained node versions
|
|
10
|
+
last 2 node major versions
|
|
11
|
+
last 2 versions
|
|
12
|
+
not dead
|
package/.editorconfig
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
# .editorconfig
|
|
2
|
+
#
|
|
3
|
+
# SPDX-License-Identifier: CC-BY-4.0 OR GPL-3.0-or-later
|
|
4
|
+
# This file is part of Network Pro.
|
|
5
|
+
#
|
|
6
|
+
# EditorConfig helps developers define and maintain consistent
|
|
7
|
+
# coding styles between different editors and IDEs
|
|
8
|
+
# See http://editorconfig.org/ for full details
|
|
9
|
+
|
|
10
|
+
; top-most EditorConfig file
|
|
11
|
+
root = true
|
|
12
|
+
|
|
13
|
+
; define basic and global for any file
|
|
14
|
+
[*]
|
|
15
|
+
charset = utf-8
|
|
16
|
+
end_of_line = lf
|
|
17
|
+
indent_size = 2
|
|
18
|
+
indent_style = space
|
|
19
|
+
max_line_length = 80
|
|
20
|
+
insert_final_newline = true
|
|
21
|
+
trim_trailing_whitespace = true
|
|
22
|
+
|
|
23
|
+
; DOS/Windows batch scripts -
|
|
24
|
+
[*.{bat,cmd}]
|
|
25
|
+
end_of_line = crlf
|
|
26
|
+
|
|
27
|
+
; Cascading Stylesheets -
|
|
28
|
+
[*.css]
|
|
29
|
+
indent_size = 2
|
|
30
|
+
|
|
31
|
+
; HTML files -
|
|
32
|
+
[*.{html,htm}]
|
|
33
|
+
indent_size = 2
|
|
34
|
+
|
|
35
|
+
; JavaScript files -
|
|
36
|
+
[*.{mjs,js,ts}]
|
|
37
|
+
curly_bracket_next_line = true
|
|
38
|
+
quote_type = single
|
|
39
|
+
|
|
40
|
+
; JSON files (normal and commented version) -
|
|
41
|
+
[*.{json,jsonc}]
|
|
42
|
+
indent_size = 2
|
|
43
|
+
quote_type = double
|
|
44
|
+
|
|
45
|
+
; Make - match it own default syntax
|
|
46
|
+
[Makefile]
|
|
47
|
+
indent_style = tab
|
|
48
|
+
|
|
49
|
+
; Markdown files - preserve trail spaces that means break line
|
|
50
|
+
[*.{md,markdown}]
|
|
51
|
+
trim_trailing_whitespace = false
|
|
52
|
+
|
|
53
|
+
; PowerShell - match defaults for New-ModuleManifest and PSScriptAnalyzer Invoke-Formatter
|
|
54
|
+
[*.{ps1,psd1,psm1}]
|
|
55
|
+
charset = utf-8-bom
|
|
56
|
+
end_of_line = crlf
|
|
57
|
+
|
|
58
|
+
; YML config files - match it own default syntax
|
|
59
|
+
[*.{yaml,yml}]
|
|
60
|
+
indent_size = 2
|
package/.gitattributes
ADDED
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
# .gitattributes
|
|
2
|
+
#
|
|
3
|
+
# SPDX-License-Identifier: CC-BY-4.0 OR GPL-3.0-or-later
|
|
4
|
+
# This file is part of Network Pro.
|
|
5
|
+
#
|
|
6
|
+
## GITATTRIBUTES FOR WEB PROJECTS
|
|
7
|
+
#
|
|
8
|
+
# These settings are for any web project.
|
|
9
|
+
#
|
|
10
|
+
# Details per file setting:
|
|
11
|
+
# text These files should be normalized (i.e. convert CRLF to LF).
|
|
12
|
+
# binary These files are binary and should be left untouched.
|
|
13
|
+
#
|
|
14
|
+
# Note that binary is a macro for -text -diff.
|
|
15
|
+
######################################################################
|
|
16
|
+
|
|
17
|
+
## AUTO-DETECT
|
|
18
|
+
## Handle line endings automatically for files detected as
|
|
19
|
+
## text and leave all files detected as binary untouched.
|
|
20
|
+
## This will handle all files NOT defined below.
|
|
21
|
+
* text=auto
|
|
22
|
+
|
|
23
|
+
## SOURCE CODE
|
|
24
|
+
*.bat text eol=crlf
|
|
25
|
+
*.coffee text
|
|
26
|
+
*.css text
|
|
27
|
+
*.htm text
|
|
28
|
+
*.html text
|
|
29
|
+
*.inc text
|
|
30
|
+
*.ini text
|
|
31
|
+
*.js text
|
|
32
|
+
*.json text
|
|
33
|
+
*.jsx text
|
|
34
|
+
*.less text
|
|
35
|
+
*.od text
|
|
36
|
+
*.onlydata text
|
|
37
|
+
*.php text
|
|
38
|
+
*.pl text
|
|
39
|
+
*.py text
|
|
40
|
+
*.rb text
|
|
41
|
+
*.sass text
|
|
42
|
+
*.scm text
|
|
43
|
+
*.scss text
|
|
44
|
+
*.sh text eol=lf
|
|
45
|
+
*.sql text
|
|
46
|
+
*.styl text
|
|
47
|
+
*.tag text
|
|
48
|
+
*.ts text
|
|
49
|
+
*.tsx text
|
|
50
|
+
*.xml text
|
|
51
|
+
*.xhtml text
|
|
52
|
+
|
|
53
|
+
## DOCKER
|
|
54
|
+
*.dockerignore text
|
|
55
|
+
Dockerfile text
|
|
56
|
+
|
|
57
|
+
## DOCUMENTATION
|
|
58
|
+
*.markdown text
|
|
59
|
+
*.md text
|
|
60
|
+
*.mdwn text
|
|
61
|
+
*.mdown text
|
|
62
|
+
*.mkd text
|
|
63
|
+
*.mkdn text
|
|
64
|
+
*.mdtxt text
|
|
65
|
+
*.mdtext text
|
|
66
|
+
*.txt text
|
|
67
|
+
AUTHORS text
|
|
68
|
+
CHANGELOG text
|
|
69
|
+
CHANGES text
|
|
70
|
+
CONTRIBUTING text
|
|
71
|
+
COPYING text
|
|
72
|
+
copyright text
|
|
73
|
+
*COPYRIGHT* text
|
|
74
|
+
INSTALL text
|
|
75
|
+
license text
|
|
76
|
+
LICENSE text
|
|
77
|
+
NEWS text
|
|
78
|
+
readme text
|
|
79
|
+
*README* text
|
|
80
|
+
TODO text
|
|
81
|
+
|
|
82
|
+
## TEMPLATES
|
|
83
|
+
*.dot text
|
|
84
|
+
*.ejs text
|
|
85
|
+
*.haml text
|
|
86
|
+
*.handlebars text
|
|
87
|
+
*.hbs text
|
|
88
|
+
*.hbt text
|
|
89
|
+
*.jade text
|
|
90
|
+
*.latte text
|
|
91
|
+
*.mustache text
|
|
92
|
+
*.njk text
|
|
93
|
+
*.phtml text
|
|
94
|
+
*.tmpl text
|
|
95
|
+
*.tpl text
|
|
96
|
+
*.twig text
|
|
97
|
+
|
|
98
|
+
## LINTERS
|
|
99
|
+
.babelrc text
|
|
100
|
+
.csslintrc text
|
|
101
|
+
.eslintrc text
|
|
102
|
+
.htmlhintrc text
|
|
103
|
+
.jscsrc text
|
|
104
|
+
.jshintrc text
|
|
105
|
+
.jshintignore text
|
|
106
|
+
.prettierrc text
|
|
107
|
+
.stylelintrc text
|
|
108
|
+
|
|
109
|
+
## CONFIGS
|
|
110
|
+
*.bowerrc text
|
|
111
|
+
*.cnf text
|
|
112
|
+
*.conf text
|
|
113
|
+
*.config text
|
|
114
|
+
.browserslistrc text
|
|
115
|
+
.editorconfig text
|
|
116
|
+
.gitattributes text
|
|
117
|
+
.gitconfig text
|
|
118
|
+
.gitignore text
|
|
119
|
+
.htaccess text
|
|
120
|
+
*.npmignore text
|
|
121
|
+
*.yaml text
|
|
122
|
+
*.yml text
|
|
123
|
+
browserslist text
|
|
124
|
+
Makefile text
|
|
125
|
+
makefile text
|
|
126
|
+
|
|
127
|
+
## HEROKU
|
|
128
|
+
Procfile text
|
|
129
|
+
.slugignore text
|
|
130
|
+
|
|
131
|
+
## GRAPHICS
|
|
132
|
+
*.ai binary
|
|
133
|
+
*.bmp binary
|
|
134
|
+
*.eps binary
|
|
135
|
+
*.gif binary
|
|
136
|
+
*.ico binary
|
|
137
|
+
*.jng binary
|
|
138
|
+
*.jp2 binary
|
|
139
|
+
*.jpg binary
|
|
140
|
+
*.jpeg binary
|
|
141
|
+
*.jpx binary
|
|
142
|
+
*.jxr binary
|
|
143
|
+
*.pdf binary
|
|
144
|
+
*.png binary
|
|
145
|
+
*.psb binary
|
|
146
|
+
*.psd binary
|
|
147
|
+
*.svg text
|
|
148
|
+
*.svgz binary
|
|
149
|
+
*.tif binary
|
|
150
|
+
*.tiff binary
|
|
151
|
+
*.wbmp binary
|
|
152
|
+
*.webp binary
|
|
153
|
+
|
|
154
|
+
## AUDIO
|
|
155
|
+
*.kar binary
|
|
156
|
+
*.m4a binary
|
|
157
|
+
*.mid binary
|
|
158
|
+
*.midi binary
|
|
159
|
+
*.mp3 binary
|
|
160
|
+
*.ogg binary
|
|
161
|
+
*.ra binary
|
|
162
|
+
|
|
163
|
+
## VIDEO
|
|
164
|
+
*.3gpp binary
|
|
165
|
+
*.3gp binary
|
|
166
|
+
*.as binary
|
|
167
|
+
*.asf binary
|
|
168
|
+
*.asx binary
|
|
169
|
+
*.fla binary
|
|
170
|
+
*.flv binary
|
|
171
|
+
*.m4v binary
|
|
172
|
+
*.mng binary
|
|
173
|
+
*.mov binary
|
|
174
|
+
*.mp4 binary
|
|
175
|
+
*.mpeg binary
|
|
176
|
+
*.mpg binary
|
|
177
|
+
*.ogv binary
|
|
178
|
+
*.swc binary
|
|
179
|
+
*.swf binary
|
|
180
|
+
*.webm binary
|
|
181
|
+
|
|
182
|
+
## ARCHIVES
|
|
183
|
+
*.7z binary
|
|
184
|
+
*.gz binary
|
|
185
|
+
*.jar binary
|
|
186
|
+
*.rar binary
|
|
187
|
+
*.tar binary
|
|
188
|
+
*.zip binary
|
|
189
|
+
|
|
190
|
+
## FONTS
|
|
191
|
+
*.ttf binary
|
|
192
|
+
*.eot binary
|
|
193
|
+
*.otf binary
|
|
194
|
+
*.woff binary
|
|
195
|
+
*.woff2 binary
|
|
196
|
+
|
|
197
|
+
## EXECUTABLES
|
|
198
|
+
*.exe binary
|
|
199
|
+
*.pyc binary
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# Commit Message Guide
|
|
2
|
+
|
|
3
|
+
To maintain clarity and consistency, use one of the following commit types when
|
|
4
|
+
writing messages. Keep them short and focused — the `CHANGELOG.md` remains the
|
|
5
|
+
source of truth for full details.
|
|
6
|
+
|
|
7
|
+
## Commit Types
|
|
8
|
+
|
|
9
|
+
| Type | Description |
|
|
10
|
+
| ----------- | ------------------------------------------------------------ |
|
|
11
|
+
| `feat:` | A new feature or enhancement |
|
|
12
|
+
| `fix:` | A bug fix |
|
|
13
|
+
| `chore:` | Tooling, build scripts, release prep, or other meta changes |
|
|
14
|
+
| `docs:` | Documentation-only changes |
|
|
15
|
+
| `style:` | Formatting or stylistic changes that don't affect behavior |
|
|
16
|
+
| `refactor:` | Code changes that restructure without changing functionality |
|
|
17
|
+
| `test:` | Adding or updating tests |
|
|
18
|
+
|
|
19
|
+
## Examples
|
|
20
|
+
|
|
21
|
+
- `feat: add cryptomator entry to FOSS spotlight`
|
|
22
|
+
- `fix: correct author metadata in app.html`
|
|
23
|
+
- `chore: prepare v1.13.8 release`
|
|
24
|
+
- `docs: update changelog for v1.13.8`
|
|
25
|
+
- `style: clean up indentation in layout.svelte`
|
|
26
|
+
- `refactor: split utility functions from helpers.js`
|
|
27
|
+
- `test: add unit tests for buildPath util`
|
|
28
|
+
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
Stick to one type per commit when possible. For mixed changes, pick the most
|
|
32
|
+
meaningful one.
|
|
33
|
+
|
|
34
|
+
Consistency helps, but don’t overthink it — use what makes sense.
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# Copyright © 2025 Network Pro Strategies (Network Pro™)
|
|
2
|
+
# SPDX-License-Identifier: CC-BY-4.0 OR GPL-3.0-or-later
|
|
3
|
+
# This file is part of Network Pro
|
|
4
|
+
|
|
5
|
+
blank_issues_enabled: true
|
|
6
|
+
contact_links:
|
|
7
|
+
- name: 🐛 File a Bug Report
|
|
8
|
+
url: https://github.com/netwk-pro/netwk-pro.github.io/issues/new?template=bug_report.yml
|
|
9
|
+
about: Please open all bug reports in the main repository.
|
|
10
|
+
|
|
11
|
+
- name: ✨ Feature Request
|
|
12
|
+
url: https://github.com/netwk-pro/netwk-pro.github.io/issues/new?template=feature_request.yml
|
|
13
|
+
about: Suggest new or updated features in the main repository.
|
|
14
|
+
|
|
15
|
+
- name: ⚖️ Legal or Compliance Issue
|
|
16
|
+
url: https://github.com/netwk-pro/netwk-pro.github.io/issues/new?template=legal_review.yml
|
|
17
|
+
about: Raise legal or policy-related issues centrally.
|
|
18
|
+
|
|
19
|
+
- name: Ask the Community
|
|
20
|
+
url: https://discuss.neteng.pro
|
|
21
|
+
about: Join the GitHub Discussions forum to get support from the community.
|
|
22
|
+
|
|
23
|
+
- name: Stack Overflow (Internal Team)
|
|
24
|
+
url: https://stack.neteng.pro
|
|
25
|
+
about:
|
|
26
|
+
Search or post questions in our internal Stack Overflow for Teams
|
|
27
|
+
instance.
|
|
28
|
+
|
|
29
|
+
- name: Contact Network Pro
|
|
30
|
+
url: https://netwk.pro/contact?utm_source=github
|
|
31
|
+
about: Contact us directly for help or private inquiries.
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# .github/workflows/auto-assign.yml
|
|
2
|
+
#
|
|
3
|
+
# Copyright © 2025 Network Pro Strategies (Network Pro™)
|
|
4
|
+
# SPDX-License-Identifier: CC-BY-4.0 OR GPL-3.0-or-later
|
|
5
|
+
# This file is part of Network Pro
|
|
6
|
+
#
|
|
7
|
+
# This workflow will auto-assign an issue or PR to a specific user
|
|
8
|
+
# when a new issue or PR is opened.
|
|
9
|
+
|
|
10
|
+
name: Auto Assign
|
|
11
|
+
|
|
12
|
+
on:
|
|
13
|
+
issues:
|
|
14
|
+
types: [opened]
|
|
15
|
+
pull_request:
|
|
16
|
+
types: [opened, edited, synchronize, reopened]
|
|
17
|
+
|
|
18
|
+
permissions:
|
|
19
|
+
issues: write
|
|
20
|
+
contents: read
|
|
21
|
+
pull-requests: write
|
|
22
|
+
|
|
23
|
+
jobs:
|
|
24
|
+
auto-assign:
|
|
25
|
+
runs-on: ubuntu-24.04
|
|
26
|
+
|
|
27
|
+
steps:
|
|
28
|
+
- name: 'Auto-assign issue or PR'
|
|
29
|
+
uses: pozil/auto-assign-issue@v2
|
|
30
|
+
with:
|
|
31
|
+
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
|
32
|
+
assignees: SunDevil311
|
|
33
|
+
numOfAssignee: 1
|
|
34
|
+
allowSelfAssign: true
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# .github/workflows/backup-branch.yml
|
|
2
|
+
#
|
|
3
|
+
# Syncs backup/nightly-snapshot branch with master every day at 10:00 UTC.
|
|
4
|
+
# Only triggers on the default branch and not on PRs
|
|
5
|
+
#
|
|
6
|
+
# Copyright © 2025 Network Pro Strategies (Network Pro™)
|
|
7
|
+
# SPDX-License-Identifier: CC-BY-4.0 OR GPL-3.0-or-later
|
|
8
|
+
# This file is part of Network Pro
|
|
9
|
+
|
|
10
|
+
name: Nightly Backup Branch Sync
|
|
11
|
+
|
|
12
|
+
on:
|
|
13
|
+
schedule:
|
|
14
|
+
- cron: '0 11 * * *' # Every day at 11:00 AM UTC (4:00 AM MST)
|
|
15
|
+
workflow_dispatch: # Allow manual triggering too
|
|
16
|
+
|
|
17
|
+
permissions:
|
|
18
|
+
contents: write
|
|
19
|
+
|
|
20
|
+
jobs:
|
|
21
|
+
sync-backup:
|
|
22
|
+
name: Sync backup/nightly-snapshot to master
|
|
23
|
+
runs-on: ubuntu-24.04
|
|
24
|
+
if: github.ref == 'refs/heads/master' && github.event_name != 'pull_request'
|
|
25
|
+
|
|
26
|
+
steps:
|
|
27
|
+
- name: Checkout master branch
|
|
28
|
+
uses: actions/checkout@v4
|
|
29
|
+
with:
|
|
30
|
+
ref: master
|
|
31
|
+
fetch-depth: 0 # Required to push to another branch
|
|
32
|
+
|
|
33
|
+
- name: Set up Git
|
|
34
|
+
run: |
|
|
35
|
+
git config user.name "SunDevil311"
|
|
36
|
+
git config user.email "github@sl.neteng.cc"
|
|
37
|
+
|
|
38
|
+
- name: Force-push to backup/nightly-snapshot
|
|
39
|
+
run: |
|
|
40
|
+
git push --force origin HEAD:refs/heads/backup/nightly-snapshot
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
# .github/workflows/build-and-deploy.yml
|
|
2
|
+
#
|
|
3
|
+
# Copyright © 2025 Network Pro Strategies (Network Pro™)
|
|
4
|
+
# SPDX-License-Identifier: CC-BY-4.0 OR GPL-3.0-or-later
|
|
5
|
+
# This file is part of Network Pro
|
|
6
|
+
|
|
7
|
+
name: Build Site and Deploy to GH Pages
|
|
8
|
+
|
|
9
|
+
on:
|
|
10
|
+
release:
|
|
11
|
+
types: [created]
|
|
12
|
+
workflow_dispatch:
|
|
13
|
+
|
|
14
|
+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
|
|
15
|
+
permissions:
|
|
16
|
+
actions: read
|
|
17
|
+
contents: read
|
|
18
|
+
pages: write
|
|
19
|
+
id-token: write
|
|
20
|
+
|
|
21
|
+
# Allow one concurrent deployment
|
|
22
|
+
concurrency:
|
|
23
|
+
group: 'pages'
|
|
24
|
+
cancel-in-progress: true
|
|
25
|
+
|
|
26
|
+
jobs:
|
|
27
|
+
check-codeql:
|
|
28
|
+
uses: ./.github/workflows/check-codeql.yml
|
|
29
|
+
|
|
30
|
+
build:
|
|
31
|
+
needs: check-codeql
|
|
32
|
+
runs-on: ubuntu-24.04
|
|
33
|
+
|
|
34
|
+
steps:
|
|
35
|
+
- name: Checkout repository
|
|
36
|
+
uses: actions/checkout@v4
|
|
37
|
+
with:
|
|
38
|
+
fetch-depth: 0
|
|
39
|
+
|
|
40
|
+
- name: Set up Node.js
|
|
41
|
+
uses: actions/setup-node@v4
|
|
42
|
+
with:
|
|
43
|
+
node-version: lts/*
|
|
44
|
+
check-latest: true
|
|
45
|
+
cache: npm
|
|
46
|
+
cache-dependency-path: package-lock.json
|
|
47
|
+
|
|
48
|
+
- name: Set up Pages
|
|
49
|
+
uses: actions/configure-pages@v5
|
|
50
|
+
|
|
51
|
+
- name: Install Node.js dependencies
|
|
52
|
+
run: npm ci
|
|
53
|
+
|
|
54
|
+
# Begin Material for MkDocs setup
|
|
55
|
+
- name: Set up Python
|
|
56
|
+
uses: actions/setup-python@v5
|
|
57
|
+
with:
|
|
58
|
+
python-version: '3.13'
|
|
59
|
+
|
|
60
|
+
- name: Install Python dependencies
|
|
61
|
+
run: pip install -r requirements.txt
|
|
62
|
+
|
|
63
|
+
# Strict mode disabled for mkdocs-material
|
|
64
|
+
- name: Build MkDocs documentation
|
|
65
|
+
run: mkdocs build
|
|
66
|
+
|
|
67
|
+
- name: Copy package.json to build directory
|
|
68
|
+
run: cp package.json build/
|
|
69
|
+
|
|
70
|
+
- name: Upload artifact
|
|
71
|
+
uses: actions/upload-pages-artifact@v3
|
|
72
|
+
with:
|
|
73
|
+
path: ./build
|
|
74
|
+
|
|
75
|
+
deploy:
|
|
76
|
+
needs: [check-codeql, build]
|
|
77
|
+
environment:
|
|
78
|
+
name: github-pages
|
|
79
|
+
url: ${{ steps.deployment.outputs.page_url }}
|
|
80
|
+
runs-on: ubuntu-24.04
|
|
81
|
+
|
|
82
|
+
steps:
|
|
83
|
+
- name: Deploy to GitHub Pages
|
|
84
|
+
id: deployment
|
|
85
|
+
uses: actions/deploy-pages@v4
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# .github/workflows/check-codeql.yml
|
|
2
|
+
#
|
|
3
|
+
# Copyright © 2025 Network Pro Strategies (Network Pro™)
|
|
4
|
+
# SPDX-License-Identifier: CC-BY-4.0 OR GPL-3.0-or-later
|
|
5
|
+
# This file is part of Network Pro
|
|
6
|
+
|
|
7
|
+
name: CodeQL Status Check
|
|
8
|
+
|
|
9
|
+
permissions:
|
|
10
|
+
actions: read
|
|
11
|
+
contents: read
|
|
12
|
+
|
|
13
|
+
on:
|
|
14
|
+
workflow_call:
|
|
15
|
+
|
|
16
|
+
jobs:
|
|
17
|
+
check:
|
|
18
|
+
name: Check CodeQL Status
|
|
19
|
+
runs-on: ubuntu-24.04
|
|
20
|
+
|
|
21
|
+
steps:
|
|
22
|
+
- name: Check CodeQL Workflow
|
|
23
|
+
env:
|
|
24
|
+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
25
|
+
run: |
|
|
26
|
+
gh --version
|
|
27
|
+
|
|
28
|
+
if ! gh run list --repo "${GITHUB_REPOSITORY}" --workflow "CodeQL" --limit 1 --json conclusion --jq '.[0].conclusion' > codeql_status.txt; then
|
|
29
|
+
echo "::error title=CodeQL Check Failed::Could not retrieve CodeQL run status. Blocking deployment."
|
|
30
|
+
exit 1
|
|
31
|
+
fi
|
|
32
|
+
|
|
33
|
+
CODEQL_STATUS=$(cat codeql_status.txt)
|
|
34
|
+
echo "CodeQL status: $CODEQL_STATUS"
|
|
35
|
+
if [[ "$CODEQL_STATUS" != "success" ]]; then
|
|
36
|
+
echo "::error title=CodeQL Check Failed::Latest CodeQL run did not succeed. Blocking deployment."
|
|
37
|
+
exit 1
|
|
38
|
+
fi
|
|
39
|
+
|
|
40
|
+
rm -f codeql_status.txt
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# .github/workflows/dependency-review.yml
|
|
2
|
+
#
|
|
3
|
+
# Copyright © 2025 Network Pro Strategies (Network Pro™)
|
|
4
|
+
# SPDX-License-Identifier: CC-BY-4.0 OR GPL-3.0-or-later
|
|
5
|
+
# This file is part of Network Pro
|
|
6
|
+
|
|
7
|
+
name: Dependency Review
|
|
8
|
+
on: [pull_request]
|
|
9
|
+
|
|
10
|
+
permissions:
|
|
11
|
+
contents: read
|
|
12
|
+
|
|
13
|
+
jobs:
|
|
14
|
+
dependency-review:
|
|
15
|
+
runs-on: ubuntu-24.04
|
|
16
|
+
steps:
|
|
17
|
+
- name: 'Checkout Repository'
|
|
18
|
+
uses: actions/checkout@v4
|
|
19
|
+
|
|
20
|
+
- name: 'Dependency Review'
|
|
21
|
+
uses: actions/dependency-review-action@v4
|