mirror of
https://github.com/danielmiessler/SecLists.git
synced 2026-08-12 16:57:40 +00:00
Fixed github action
it failed previously because no email and username were provided
This commit is contained in:
@@ -17,7 +17,7 @@ jobs:
|
|||||||
update_combined_words:
|
update_combined_words:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v2
|
||||||
- name: Generate combined_words.txt
|
- 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
|
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
|
- name: Switching from HTTPS to SSH
|
||||||
@@ -26,9 +26,14 @@ jobs:
|
|||||||
run: git status
|
run: git status
|
||||||
- name: Stage changed files
|
- name: Stage changed files
|
||||||
run: git add Discovery/Web-Content/combined_words.txt
|
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
|
- name: Commit changed files
|
||||||
run: git commit -m "[Github Action] Updated combined_words.txt"
|
run: git commit -m "[Github Action] Updated combined_words.txt"
|
||||||
- name: Fetch from master
|
- name: Push changes # push the output folder to your repo
|
||||||
run: git fetch origin master
|
uses: ad-m/github-push-action@master
|
||||||
- name: Push code to master
|
with:
|
||||||
run: git push origin HEAD:master
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
force: true
|
||||||
|
|||||||
Reference in New Issue
Block a user