Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions .github/workflows/sync-upstream.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,24 +19,27 @@ jobs:
MYSTEN_SPREEDSHEET_ID: ${{ secrets.MYSTEN_SPREEDSHEET_ID }}
BLOCKLISTS_URL: ${{ secrets.BLOCKLISTS_URL }}
ALLOWLISTS_URL: ${{ secrets.ALLOWLISTS_URL }}
READ_ACCESS_TOKEN: ${{ secrets.READ_ACCESS_TOKEN }}
SHOULD_FETCH_SHEET: "false"


steps:
- name: Checkout code
uses: actions/checkout@v3 # Use the GitHub checkout action to checkout code
uses: actions/checkout@v5 # Use the GitHub checkout action to checkout code

- uses: pnpm/action-setup@v3
- uses: pnpm/action-setup@v4
with:
version: 8
version: 10
- name: Install dependencies using PNPM
run: pnpm install

- name: Sync blocklists
env:
READ_ACCESS_TOKEN: ${{ secrets.READ_ACCESS_TOKEN }}
run: pnpm sync-blocklists

- name: Sync allowlists
env:
READ_ACCESS_TOKEN: ${{ secrets.READ_ACCESS_TOKEN }}
run: pnpm sync-allowlists

- name: Copy blocklists to src
Expand Down