mirror of
https://github.com/Yamato-Security/WELA.git
synced 2025-12-07 01:32:50 +01:00
chg: Output horizontally
This commit is contained in:
14
.github/workflows/create-rule-meta.yml
vendored
14
.github/workflows/create-rule-meta.yml
vendored
@@ -1,7 +1,7 @@
|
|||||||
name: create-rule-meta.json
|
name: create-rule-meta.json
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ "*" ]
|
branches: [ "main" ]
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
@@ -19,15 +19,3 @@ jobs:
|
|||||||
|
|
||||||
- name: Run
|
- name: Run
|
||||||
run: cd wela-extractor && cargo run --release -- ../hayabusa-rules ../config/eid_subcategory_mapping.csv ../config/security_rules.json
|
run: cd wela-extractor && cargo run --release -- ../hayabusa-rules ../config/eid_subcategory_mapping.csv ../config/security_rules.json
|
||||||
|
|
||||||
- name: Push changes
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
run: |
|
|
||||||
git config --global user.name 'github-actions[bot]'
|
|
||||||
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
|
|
||||||
git add *.json
|
|
||||||
git commit -m "Automated update"
|
|
||||||
if [ "$(git log -1 --pretty=%B)" = "Automated update" ]; then
|
|
||||||
git push origin main
|
|
||||||
fi
|
|
||||||
|
|||||||
Reference in New Issue
Block a user