fix(cicd): Removed insecure commit author from cicd pipelines.

This commit is contained in:
Ignacio J. Perez Portal 2024-05-10 02:18:02 -03:00
parent 71feee4767
commit 2bc6399bce
6 changed files with 12 additions and 12 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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