From 2bc6399bce4d198b349cd9a586007be33ef7b1a5 Mon Sep 17 00:00:00 2001 From: "Ignacio J. Perez Portal" <5990@protonmail.com> Date: Fri, 10 May 2024 02:18:02 -0300 Subject: [PATCH] fix(cicd): Removed insecure commit author from cicd pipelines. --- .github/workflows/readme-updater.yml | 4 ++-- ...dater_awesome-list-of-secrets-in-environment-variables.yml | 4 ++-- .github/workflows/wordlist-updater_combined_directories.yml | 4 ++-- .github/workflows/wordlist-updater_combined_words.yml | 4 ++-- .github/workflows/wordlist-updater_fuzzing_etc_files.yml | 4 ++-- .github/workflows/wordlist-updater_trickest-wordlists.yml | 4 ++-- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/readme-updater.yml b/.github/workflows/readme-updater.yml index bb50fae4..13d8a1ea 100644 --- a/.github/workflows/readme-updater.yml +++ b/.github/workflows/readme-updater.yml @@ -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 diff --git a/.github/workflows/wordlist-updater_awesome-list-of-secrets-in-environment-variables.yml b/.github/workflows/wordlist-updater_awesome-list-of-secrets-in-environment-variables.yml index fed92094..2cb23726 100644 --- a/.github/workflows/wordlist-updater_awesome-list-of-secrets-in-environment-variables.yml +++ b/.github/workflows/wordlist-updater_awesome-list-of-secrets-in-environment-variables.yml @@ -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 diff --git a/.github/workflows/wordlist-updater_combined_directories.yml b/.github/workflows/wordlist-updater_combined_directories.yml index a2182968..3a11a359 100644 --- a/.github/workflows/wordlist-updater_combined_directories.yml +++ b/.github/workflows/wordlist-updater_combined_directories.yml @@ -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 diff --git a/.github/workflows/wordlist-updater_combined_words.yml b/.github/workflows/wordlist-updater_combined_words.yml index 9599f927..0b0c1a78 100644 --- a/.github/workflows/wordlist-updater_combined_words.yml +++ b/.github/workflows/wordlist-updater_combined_words.yml @@ -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 diff --git a/.github/workflows/wordlist-updater_fuzzing_etc_files.yml b/.github/workflows/wordlist-updater_fuzzing_etc_files.yml index 35f0283d..923257f5 100644 --- a/.github/workflows/wordlist-updater_fuzzing_etc_files.yml +++ b/.github/workflows/wordlist-updater_fuzzing_etc_files.yml @@ -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 diff --git a/.github/workflows/wordlist-updater_trickest-wordlists.yml b/.github/workflows/wordlist-updater_trickest-wordlists.yml index bc564a54..52cf497b 100644 --- a/.github/workflows/wordlist-updater_trickest-wordlists.yml +++ b/.github/workflows/wordlist-updater_trickest-wordlists.yml @@ -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