From c2f8dd0977661f8cd51c46c5a49575ebd2e0e540 Mon Sep 17 00:00:00 2001 From: "Ignacio J. Perez Portal" <5990@protonmail.com> Date: Wed, 24 Apr 2024 23:27:11 -0300 Subject: [PATCH] fix(CICD): Removed hard-coded repo URL --- .github/workflows/wordlist-updater_combined_directories.yml | 2 +- .github/workflows/wordlist-updater_combined_words.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/wordlist-updater_combined_directories.yml b/.github/workflows/wordlist-updater_combined_directories.yml index 5d6d1679..a2182968 100644 --- a/.github/workflows/wordlist-updater_combined_directories.yml +++ b/.github/workflows/wordlist-updater_combined_directories.yml @@ -24,7 +24,7 @@ jobs: - name: Generate combined_directories.txt run: cd Discovery/Web-Content/ && cat raft-small-directories* directory-list-2.3-small.txt raft-medium-directories* directory-list-2.3-medium.txt apache.txt combined_words.txt directory-list-2.3-big.txt raft-large-directories* directory-list-1.0.txt | awk '! seen[$0]++' > combined_directories.txt - name: Switching from HTTPS to SSH - run: git remote set-url origin git@github.com:danielmiessler/SecLists.git + run: git remote set-url origin git@github.com:${{ GITHUB_REPOSITORY }}.git - name: Check for changes run: git status - name: Stage changed files diff --git a/.github/workflows/wordlist-updater_combined_words.yml b/.github/workflows/wordlist-updater_combined_words.yml index 1536fa43..9599f927 100644 --- a/.github/workflows/wordlist-updater_combined_words.yml +++ b/.github/workflows/wordlist-updater_combined_words.yml @@ -20,7 +20,7 @@ jobs: - name: Generate combined_words.txt run: cd Discovery/Web-Content/ && cat common.txt raft-small-words* raft-medium-words* big.txt raft-large-words* | awk '! seen[$0]++' > combined_words.txt - name: Switching from HTTPS to SSH - run: git remote set-url origin git@github.com:danielmiessler/SecLists.git + run: git remote set-url origin git@github.com:${{ GITHUB_REPOSITORY }}.git - name: Check for changes run: git status - name: Stage changed files