diff --git a/.github/workflows/sync-upstream.yml b/.github/workflows/sync-upstream.yml index 912635e4..f9350330 100644 --- a/.github/workflows/sync-upstream.yml +++ b/.github/workflows/sync-upstream.yml @@ -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