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
14 changes: 14 additions & 0 deletions .github/workflows/export-blocklist-pkgjs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Export blocklist to pkgjs
on:
workflow_dispatch:

jobs:
export_blocklist:
if: github.repository == 'nodejs/.github' # only try to run when in the originating repo, since forks will be missing the token
runs-on: ubuntu-latest
steps:
- uses: pkgjs/action-import-blocklist@HEAD
with:
sourceOrganization: nodejs # we take the nodejs blocklist
targetOrganization: pkgjs # and push it somewhere else - in this case, the pkgjs org
token: ${{ secrets.BLOCKLIST_TOKEN }}