File tree Expand file tree Collapse file tree 2 files changed +49
-0
lines changed
Expand file tree Collapse file tree 2 files changed +49
-0
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
You can’t perform that action at this time.
0 commit comments