Report impersonation for DID did:chia:1ydy4dgzn55... (#270) #165
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |