Webmentions #18006
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: Webmentions | |
on: | |
workflow_dispatch: | |
repository_dispatch: | |
types: [Received Webmention] | |
schedule: | |
- cron: "0 * * * *" | |
jobs: | |
webmentions: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: 'npm' | |
- run: npm ci | |
- name: Fetch webmentions | |
env: | |
WEBMENTION_IO_TOKEN: ${{ secrets.WEBMENTION_IO_TOKEN }} | |
run: npm run webmentions | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v6 | |
with: | |
commit-message: 'chore: update mentions' | |
branch: chore/webmentions | |
assignees: petergoes | |
title: 'chore: update mentions' | |
body: 'This PR updates the list of mentions in the repository.' | |
add-paths: | | |
src/_data/* |