mirror of
https://github.com/danielmiessler/SecLists
synced 2026-01-06 08:06:47 +01:00
Fixed github action
it failed previously because no email and username were provided
This commit is contained in:
parent
2d6d06d534
commit
ea50d621e0
1 changed files with 10 additions and 5 deletions
|
|
@ -17,7 +17,7 @@ jobs:
|
|||
update_combined_words:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: actions/checkout@v2
|
||||
- name: Generate combined_words.txt
|
||||
run: cd Discovery/Web-Content/ && cat common.txt raft-small-words* raft-medium-words* big.txt raft-large-words* | awk '! seen[$0]++' > combined_words.txt
|
||||
- name: Switching from HTTPS to SSH
|
||||
|
|
@ -26,9 +26,14 @@ jobs:
|
|||
run: git status
|
||||
- name: Stage changed files
|
||||
run: git add Discovery/Web-Content/combined_words.txt
|
||||
- name: Configure git email and username
|
||||
run: |
|
||||
git config --local user.email "example@github.com"
|
||||
git config --local user.name "GitHub Action"
|
||||
- name: Commit changed files
|
||||
run: git commit -m "[Github Action] Updated combined_words.txt"
|
||||
- name: Fetch from master
|
||||
run: git fetch origin master
|
||||
- name: Push code to master
|
||||
run: git push origin HEAD:master
|
||||
- name: Push changes # push the output folder to your repo
|
||||
uses: ad-m/github-push-action@master
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
force: true
|
||||
|
|
|
|||
Loading…
Reference in a new issue