forked from SigmaHQ/sigma
-
Notifications
You must be signed in to change notification settings - Fork 0
56 lines (44 loc) · 1.49 KB
/
Copy pathsigma-rule-deprecated.yml
File metadata and controls
56 lines (44 loc) · 1.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
name: "Create deprecated summary"
on:
#push:
# branches:
# - "*"
schedule:
- cron: "0 0 1 * *" # At 00:00 on day-of-month 1.
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
pull-master:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
with:
submodules: true
- name: Set up Python 3.11
uses: actions/setup-python@v6
with:
python-version: 3.11
- name: Execute deprecated rules script
run: |
pip install pySigma
python tests/deprecated_rules.py --format csv
python tests/deprecated_rules.py --format json
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
reviewers: nasbench, frack113, phantinuss
delete-branch: true
commit-message: 'chore: update deprecated csv'
branch: 'create-pull-request/rule-deprecated'
title: 'Update deprecated.csv'
body: |
### Summary of the Pull Request
This PR updates the deprecated summary file `deprecated.csv` and `deprecated.json`
### Changelog
chore: update deprecated.csv and deprecated.json
### Example Log Event
N/A
### Fixed Issues
N/A
### SigmaHQ Rule Creation Conventions
- If your PR adds new rules, please consider following and applying these [conventions](https://github.com/SigmaHQ/sigma-specification/tree/main/sigmahq)