Skip to content

Check Webmentions #45742

Check Webmentions

Check Webmentions #45742

name: Check Webmentions
on:
schedule:
# Runs at every 15th minute from 0 through 59
# https://crontab.guru/#0/15_*_*_*_*
- cron: '0/15 * * * *'
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true
jobs:
webmentions:
runs-on: ubuntu-latest
steps:
- name: Checkout the project
uses: actions/checkout@v2
- name: Select Node.js version
uses: actions/setup-node@v1
with:
node-version: '16'
- name: Install dependencies
run: npm ci
- name: Run webmention script
env:
WEBMENTION_IO_TOKEN: ${{ secrets.WEBMENTION_IO_TOKEN }}
run: npm run webmention >> $GITHUB_STEP_SUMMARY
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with:
token: ${{ secrets.PAT }}
branch: webmentions
delete-branch: true
commit-message: Update Webmentions
title: Update Webmentions
labels: automerge 🤞