A fast, local-first "redirection engine" for !bang users with a few extra features ^-^
1name: Weekly Verify Bangs
2on:
3 schedule:
4 - cron: "15 0 * * *"
5 workflow_dispatch:
6
7jobs:
8 fetch-bangs:
9 runs-on: ubuntu-latest
10 steps:
11 - uses: actions/checkout@v3
12
13 - name: Install bun
14 uses: oven-sh/setup-bun@v1
15
16 - name: 👀 Check bangs
17 run: bun run check
18
19 - name: Commit changes
20 run: |
21 git config --local user.email "github-actions[bot]@users.noreply.github.com"
22 git config --local user.name "github-actions[bot]"
23 git add src/bangs/broken-bangs.json src/bangs/hashbang.ts
24 git commit -m "chore: update broken-bangs.json" || exit 0
25 git push