File tree Expand file tree Collapse file tree 3 files changed +75
-2
lines changed
Expand file tree Collapse file tree 3 files changed +75
-2
lines changed Original file line number Diff line number Diff line change 1+ name : Mirror Alpine Security database
2+
3+ on :
4+ workflow_dispatch :
5+ schedule :
6+ - cron : ' 0 */6 * * *'
7+
8+ permissions :
9+ contents : write
10+
11+ jobs :
12+ scheduled :
13+ runs-on : ubuntu-latest
14+
15+ steps :
16+ - name : Checkout repository
17+ uses : actions/checkout@v4
18+
19+ - name : Run sync
20+ run : wget --mirror --no-parent --reject "index.html*" --no-host-directories -P secdb https://secdb.alpinelinux.org/
21+
22+ - name : Commit and push if it changed
23+ run : |-
24+ git config user.name "AboutCode Automation"
25+ git config user.email "automation@aboutcode.org"
26+ git add -A
27+ git commit -m "$(echo -e "Sync latest Alpine secdb\n\nSigned-off-by: AboutCode Automation <automation@aboutcode.org>")" || exit 0
28+ git push
Original file line number Diff line number Diff line change 1+ # Various junk and temp files
2+ .DS_Store
3+ * ~
4+ . * .sw [po ]
5+ .build
6+ .ve
7+ * .bak
8+ var
9+ share
10+ selenium
11+ local
12+ /dist /
13+ /. * cache /
14+ /.venv /
15+ /.python-version
16+ /.pytest_cache /
17+ /scancodeio.egg-info /
18+ * .rdb
19+ * .aof
20+ .vscode
21+ .ipynb_checkpoints
Original file line number Diff line number Diff line change 1- # aboutcode-mirror-alpine-secdb
2- Mirror for Alpine Linux security database
1+ # Alpine Linux Security Database Mirror
2+
3+ This repository hosts a ** mirror** of the official [ Alpine Linux Security Database] ( https://secdb.alpinelinux.org/ ) .
4+
5+ ## Sync Frequency
6+
7+ The mirror syncs every 6 hours, see the sync workflow [ .github/workflows/sync.yml] ( .github/workflows/sync.yml ) .
8+
9+ ---
10+
11+ ## Usage
12+
13+ To use the mirror, clone this repository:
14+
15+ ``` bash
16+ git clone https://github.com/aboutcode-org/aboutcode-mirror-alpine-secdb.git
17+ ```
18+
19+ Once cloned, the content will be available in the ` secdb/ ` directory.
20+
21+ ---
22+
23+ ## License
24+
25+ * ** Code** is licensed under the [ Apache License 2.0] ( http://www.apache.org/licenses/LICENSE-2.0 ) .
26+ * ** Data** is licensed under [ CC-BY-SA 4.0] ( https://creativecommons.org/licenses/by-sa/4.0/ ) .
You can’t perform that action at this time.
0 commit comments