-
Notifications
You must be signed in to change notification settings - Fork 120
46 lines (38 loc) · 1.16 KB
/
fingerprint-update.yml
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
name: 💡Fingerprints Update
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * 0'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Setup golang
uses: actions/setup-go@v5
with:
go-version: 1.21.x
- name: Installing Update binary
run: |
go install github.com/projectdiscovery/wappalyzergo/cmd/update-fingerprints
shell: bash
- name: Downloading latest wappalyzer changes
run: |
update-fingerprints -fingerprints fingerprints_data.json
shell: bash
- name: Create local changes
run: |
git add fingerprints_data.json
- name: Commit files
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git commit -m "Weekly fingerprints update [$(date)] :robot:" -a --allow-empty
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}