mirror of
https://github.com/bitwarden/browser
synced 2026-02-08 12:40:26 +00:00
34 lines
1.1 KiB
YAML
34 lines
1.1 KiB
YAML
name: Update Phishing Domains Data
|
|
|
|
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
|
|
|
|
- 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: 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 |