security(cicd): Pinned dependency versions and extract 2 unsafe expressions to env vars (PR #1297)

This commit is contained in:
dagecko 2026-04-02 18:06:23 -04:00 committed by GitHub
parent fc95bad011
commit 3ec27ada8a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 13 additions and 8 deletions

View file

@ -29,10 +29,12 @@ jobs:
else
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 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.name "github-actions[bot]"
git commit -m "[Github Action] Automated readme update."
git push
fi
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View file

@ -35,9 +35,12 @@ jobs:
git add --renormalize -A && git add -A
chmod +x ./.bin/brute-force-renormalize.sh
./.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.name "github-actions[bot]"
git commit -m "[Github Action] Automated trickest wordlists update."
git push
fi
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View file

@ -32,7 +32,7 @@ jobs:
- name: Commit changed files
run: git commit -m "[Github Action] Updated api-endpoints-res.txt"
- 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:
github_token: ${{ secrets.GITHUB_TOKEN }}
force: true

View file

@ -35,7 +35,7 @@ jobs:
- name: Push changes # push the output folder to your repo
if: steps.myoutputs.outputs.gitstatus != ''
uses: ad-m/github-push-action@master
uses: ad-m/github-push-action@4cc74773234f74829a8c21bc4d69dd4be9cfa599 # master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
force: true

View file

@ -37,7 +37,7 @@ jobs:
- name: Commit changed files
run: git commit -m "[Github Action] Updated combined_directories.txt"
- 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:
github_token: ${{ secrets.GITHUB_TOKEN }}
force: true

View file

@ -33,7 +33,7 @@ jobs:
- name: Commit changed files
run: git commit -m "[Github Action] Updated combined_words.txt"
- 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:
github_token: ${{ secrets.GITHUB_TOKEN }}
force: true

View file

@ -46,7 +46,7 @@ jobs:
- name: Commit changed files
run: git commit -m "[Github Action] Updated default-passwords.txt"
- name: Push changes
uses: ad-m/github-push-action@master
uses: ad-m/github-push-action@4cc74773234f74829a8c21bc4d69dd4be9cfa599 # master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
force: true

View file

@ -43,7 +43,7 @@ jobs:
- name: Push changes # push the output folder to your repo
if: steps.myoutputs.outputs.gitstatus != ''
uses: ad-m/github-push-action@master
uses: ad-m/github-push-action@4cc74773234f74829a8c21bc4d69dd4be9cfa599 # master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
force: true