Weekly projects update #11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Weekly projects update | |
permissions: | |
contents: write | |
on: | |
schedule: | |
- cron: '0 15 * * 0' # Runs at 15:00 every Sunday | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.head_ref }} | |
- name: Install Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
- name: Install python requirements | |
run: | | |
pip install PyYAML==6.0 -q | |
pip install requests -q | |
pip install pandas -q | |
- name: Update project items and build vql | |
run: | | |
mkdir -p ./vql | |
cd ./scripts | |
python bootloaders.py | |
python hijacklibs.py | |
python loldrivers.py | |
- name: Git Auto Commit | |
uses: stefanzweifel/[email protected] | |
with: | |
commit_message: AutoUpdate VQL and yara | |
file_pattern: vql/*.yaml | |
- name: Zip Folder | |
run: zip -r DetectRaptorVQL.zip vql/*.yaml | |
- uses: ncipollo/release-action@v1 | |
with: | |
artifacts: DetectRaptorVQL.zip | |
tag: DetectRaptor | |
allowUpdates: true |