diff --git a/.github/workflows/go-phish.yml b/.github/workflows/go-phish.yml index e73fc13d547..c36faaddaf0 100644 --- a/.github/workflows/go-phish.yml +++ b/.github/workflows/go-phish.yml @@ -1,34 +1,34 @@ -# name: Update Phishing Domains Data +name: Update Phishing Domains Data -# on: -# schedule: -# - cron: '0 0 */14 * *' # Every 14 days at midnight UTC -# workflow_dispatch: # Allow manual runs +on: + schedule: + - cron: '0 0 */14 * *' # Every 14 days at midnight UTC + workflow_dispatch: # Allow manual runs -# jobs: -# update-phishing-db: -# runs-on: ubuntu-latest -# steps: -# - name: Checkout repository -# uses: actions/checkout@v4 +jobs: + update-phishing-db: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v4 -# - name: Install dependencies -# run: | -# sudo apt-get update -# sudo apt-get install -y moreutils jq curl -# # Install GNU split as gsplit (for macOS compatibility, on Ubuntu it's just split) -# sudo apt-get install -y coreutils + - name: Install dependencies + run: | + sudo apt-get update + sudo apt-get install -y moreutils jq curl + # Install GNU split as gsplit (for macOS compatibility, on Ubuntu it's just split) + sudo apt-get install -y coreutils -# - name: Run phishing domains update script -# run: bash ./clients/apps/browser/src/dirt/phishing-detection/services/fetch-phishing-domains.sh + - name: Run phishing domains update script + run: bash ./clients/apps/browser/src/dirt/phishing-detection/services/fetch-phishing-domains.sh -# - name: Commit and create PR -# uses: peter-evans/create-pull-request@v6 -# with: -# commit-message: "chore: update phishing domains data" -# branch: update/phishing-domains-data -# title: "chore: update phishing domains data" -# body: | -# This PR updates the local phishing domains data and checksum. -# labels: | -# automated \ No newline at end of file + - name: Commit and create PR + uses: peter-evans/create-pull-request@v6 + with: + commit-message: "chore: update phishing domains data" + branch: update/phishing-domains-data + title: "chore: update phishing domains data" + body: | + This PR updates the local phishing domains data and checksum. + labels: | + automated \ No newline at end of file