Skip to content

Report Impersonation for DID did:chia:1tfmuyx5mwl... (#254) #162

Report Impersonation for DID did:chia:1tfmuyx5mwl... (#254)

Report Impersonation for DID did:chia:1tfmuyx5mwl... (#254) #162

Workflow file for this run

name: Export Blocklist
on:
push:
branches: ["main"]
jobs:
export:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Merge with jq
run: jq -n '{"dids":[inputs]}' dids/*.json > export/blocklist.json
- name: Commit blocklist
run: |
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git commit -m "merge blocklist" -a || echo "Nothing to update"
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}
force: true
- name: Notify marketplaces
run: |
curl -X POST https://api.dexie.space/v1/blocklist/update
curl -X POST https://api.mintgarden.io/blocklist/update