mirror of
https://github.com/danielmiessler/SecLists.git
synced 2026-08-16 07:56:17 +00:00
security(cicd): Pinned dependency versions and extract 2 unsafe expressions to env vars (PR #1297)
This commit is contained in:
@@ -29,10 +29,12 @@ jobs:
|
|||||||
else
|
else
|
||||||
echo "[+] Files were changed! Pushing changed..."
|
echo "[+] Files were changed! Pushing changed..."
|
||||||
git add -A
|
git add -A
|
||||||
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY
|
git remote set-url origin "https://x-access-token:${GITHUB_TOKEN}@github.com/$GITHUB_REPOSITORY"
|
||||||
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||||
git config --local user.name "github-actions[bot]"
|
git config --local user.name "github-actions[bot]"
|
||||||
git commit -m "[Github Action] Automated readme update."
|
git commit -m "[Github Action] Automated readme update."
|
||||||
git push
|
git push
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|||||||
@@ -35,9 +35,12 @@ jobs:
|
|||||||
git add --renormalize -A && git add -A
|
git add --renormalize -A && git add -A
|
||||||
chmod +x ./.bin/brute-force-renormalize.sh
|
chmod +x ./.bin/brute-force-renormalize.sh
|
||||||
./.bin/brute-force-renormalize.sh ./Discovery/Web-Content/trickest-robots-disallowed-wordlists/top-10000.txt
|
./.bin/brute-force-renormalize.sh ./Discovery/Web-Content/trickest-robots-disallowed-wordlists/top-10000.txt
|
||||||
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY
|
git remote set-url origin "https://x-access-token:${GITHUB_TOKEN}@github.com/$GITHUB_REPOSITORY"
|
||||||
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||||
git config --local user.name "github-actions[bot]"
|
git config --local user.name "github-actions[bot]"
|
||||||
git commit -m "[Github Action] Automated trickest wordlists update."
|
git commit -m "[Github Action] Automated trickest wordlists update."
|
||||||
git push
|
git push
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ jobs:
|
|||||||
- name: Commit changed files
|
- name: Commit changed files
|
||||||
run: git commit -m "[Github Action] Updated api-endpoints-res.txt"
|
run: git commit -m "[Github Action] Updated api-endpoints-res.txt"
|
||||||
- name: Push changes # push the output folder to your repo
|
- name: Push changes # push the output folder to your repo
|
||||||
uses: ad-m/github-push-action@master
|
uses: ad-m/github-push-action@4cc74773234f74829a8c21bc4d69dd4be9cfa599 # master
|
||||||
with:
|
with:
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
force: true
|
force: true
|
||||||
|
|||||||
+1
-1
@@ -35,7 +35,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Push changes # push the output folder to your repo
|
- name: Push changes # push the output folder to your repo
|
||||||
if: steps.myoutputs.outputs.gitstatus != ''
|
if: steps.myoutputs.outputs.gitstatus != ''
|
||||||
uses: ad-m/github-push-action@master
|
uses: ad-m/github-push-action@4cc74773234f74829a8c21bc4d69dd4be9cfa599 # master
|
||||||
with:
|
with:
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
force: true
|
force: true
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ jobs:
|
|||||||
- name: Commit changed files
|
- name: Commit changed files
|
||||||
run: git commit -m "[Github Action] Updated combined_directories.txt"
|
run: git commit -m "[Github Action] Updated combined_directories.txt"
|
||||||
- name: Push changes # push the output folder to your repo
|
- name: Push changes # push the output folder to your repo
|
||||||
uses: ad-m/github-push-action@master
|
uses: ad-m/github-push-action@4cc74773234f74829a8c21bc4d69dd4be9cfa599 # master
|
||||||
with:
|
with:
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
force: true
|
force: true
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ jobs:
|
|||||||
- 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: Push changes # push the output folder to your repo
|
- name: Push changes # push the output folder to your repo
|
||||||
uses: ad-m/github-push-action@master
|
uses: ad-m/github-push-action@4cc74773234f74829a8c21bc4d69dd4be9cfa599 # master
|
||||||
with:
|
with:
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
force: true
|
force: true
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ jobs:
|
|||||||
- name: Commit changed files
|
- name: Commit changed files
|
||||||
run: git commit -m "[Github Action] Updated default-passwords.txt"
|
run: git commit -m "[Github Action] Updated default-passwords.txt"
|
||||||
- name: Push changes
|
- name: Push changes
|
||||||
uses: ad-m/github-push-action@master
|
uses: ad-m/github-push-action@4cc74773234f74829a8c21bc4d69dd4be9cfa599 # master
|
||||||
with:
|
with:
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
force: true
|
force: true
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Push changes # push the output folder to your repo
|
- name: Push changes # push the output folder to your repo
|
||||||
if: steps.myoutputs.outputs.gitstatus != ''
|
if: steps.myoutputs.outputs.gitstatus != ''
|
||||||
uses: ad-m/github-push-action@master
|
uses: ad-m/github-push-action@4cc74773234f74829a8c21bc4d69dd4be9cfa599 # master
|
||||||
with:
|
with:
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
force: true
|
force: true
|
||||||
|
|||||||
Reference in New Issue
Block a user