Skip to content

Toot a dumb password rule #1081

Toot a dumb password rule

Toot a dumb password rule #1081

name: Toot a dumb password rule
on:
schedule:
- cron: "37 2,14 * * *"
jobs:
build:
runs-on: ubuntu-latest
name: Toot a dumb password rule
if: ${{ github.repository == 'duffn/dumb-password-rules' }}
defaults:
run:
working-directory: .github/bot
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
run: npm ci
- name: Create env file
run: |
touch .env
echo MASTODON_API_ACCESS_TOKEN=${{ secrets.MASTODON_API_ACCESS_TOKEN }} >> .env
- name: Toot!
run: npm run toot