-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (33 loc) · 1.02 KB
/
publish.yml
File metadata and controls
38 lines (33 loc) · 1.02 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
name: Wordlist Index Updater
on:
workflow_dispatch:
push:
paths: 'wordlists.json'
pull_request:
schedule:
- cron: '0 */12 * * *'
jobs:
publish:
name: Publish index
runs-on: ubuntu-latest
permissions:
# Give the default GITHUB_TOKEN write permission to commit and push the changed files back to the repository.
contents: write
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- name: Setup .NET Core SDK
uses: actions/setup-dotnet@v4
- name: Install dependencies
run: |
dotnet tool install -g SAPTeam.Kryptor.Tool --prerelease
shell: bash
- name: Update Index
run: |
kryptor wordlist index -v --no-color --optimize wordlists.json
shell: bash
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
commit_message: Update wordlist index