mirror of
https://github.com/danielmiessler/SecLists.git
synced 2026-07-21 00:35:51 +00:00
fix(cicd): Removed insecure commit author from cicd pipelines.
This commit is contained in:
@@ -30,8 +30,8 @@ jobs:
|
||||
echo "[+] Files were changed! Pushing changed..."
|
||||
git add -A
|
||||
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY
|
||||
git config --local user.email "example@github.com"
|
||||
git config --local user.name "GitHub Action"
|
||||
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||
git config --local user.name "github-actions[bot]"
|
||||
git commit -m "[Github Action] Automated readme update."
|
||||
git push
|
||||
fi
|
||||
|
||||
+2
-2
@@ -20,8 +20,8 @@ jobs:
|
||||
|
||||
- name: Configure git email and username
|
||||
run: |
|
||||
git config --local user.email "example@github.com"
|
||||
git config --local user.name "GitHub Action"
|
||||
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||
git config --local user.name "github-actions[bot]"
|
||||
|
||||
- name: Check git status and save to output
|
||||
id: myoutputs
|
||||
|
||||
@@ -31,8 +31,8 @@ jobs:
|
||||
run: git add Discovery/Web-Content/combined_directories.txt
|
||||
- name: Configure git email and username
|
||||
run: |
|
||||
git config --local user.email "example@github.com"
|
||||
git config --local user.name "GitHub Action"
|
||||
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||
git config --local user.name "github-actions[bot]"
|
||||
- name: Commit changed files
|
||||
run: git commit -m "[Github Action] Updated combined_directories.txt"
|
||||
- name: Push changes # push the output folder to your repo
|
||||
|
||||
@@ -27,8 +27,8 @@ jobs:
|
||||
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"
|
||||
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||
git config --local user.name "github-actions[bot]"
|
||||
- name: Commit changed files
|
||||
run: git commit -m "[Github Action] Updated combined_words.txt"
|
||||
- name: Push changes # push the output folder to your repo
|
||||
|
||||
@@ -28,8 +28,8 @@ jobs:
|
||||
|
||||
- name: Configure git email and username
|
||||
run: |
|
||||
git config --local user.email "example@github.com"
|
||||
git config --local user.name "GitHub Action"
|
||||
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||
git config --local user.name "github-actions[bot]"
|
||||
|
||||
- name: Check git status and save to output
|
||||
id: myoutputs
|
||||
|
||||
@@ -27,8 +27,8 @@ jobs:
|
||||
echo "[+] Files were changed! Pushing changed..."
|
||||
git add -A
|
||||
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY
|
||||
git config --local user.email "example@github.com"
|
||||
git config --local user.name "GitHub Action"
|
||||
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||
git config --local user.name "github-actions[bot]"
|
||||
git commit -m "[Github Action] Automated trickest wordlists update."
|
||||
git push
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user