feat(list): Blacklisted Tumblr #10
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: Update Contributions | |
on: | |
push: | |
paths: | |
- "data/v2/contrib/*" | |
workflow_dispatch: | |
permissions: read-all | |
jobs: | |
publish_manifest: | |
runs-on: ubuntu-22.04 | |
defaults: | |
run: | |
shell: bash | |
permissions: | |
contents: write | |
container: | |
image: ghcr.io/t145/black-mirror:latest | |
credentials: | |
username: ${{ github.actor }} | |
password: ${{ github.token }} | |
options: --user root | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 | |
- name: Update contribution lists | |
run: | | |
mawk '/^[^[:space:]|^#|]/' data/v2/contrib/DOMAIN_WHITELIST.txt >>dist/CONTRIB_DOMAINS.txt | |
sort -o dist/CONTRIB_DOMAINS.txt -u dist/CONTRIB_DOMAINS.txt | |
- name: Make commit directory safe | |
run: git config --global --add safe.directory /__w/black-mirror/black-mirror | |
- name: Commit changes | |
uses: stefanzweifel/git-auto-commit-action@7d0ca8f849305c56d36f992cfb1519b1af5b33f8 | |
with: | |
commit_message: "ci(contrib): ✨📚✨" |