-
Notifications
You must be signed in to change notification settings - Fork 37
43 lines (35 loc) · 1023 Bytes
/
log4shell_products.yml
File metadata and controls
43 lines (35 loc) · 1023 Bytes
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
name: Update repository data
on:
schedule:
- cron: 0 */4 * * *
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2.3.1
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r .github/scripts/requirements.txt
- name: Run Python script
run: |
python .github/scripts/get_data.py
- uses: dorny/paths-filter@v2
id: filter
with:
base: HEAD
filters: |
product_list:
- 'CI_Log4Shell_Products/**'
- name: product_list tests
if: steps.filter.outputs.product_list == 'true'
run: |
git config user.name github-actions
git config user.email github-actions@github.com
git add .
git commit -m "Update data workflow"
git push