-
Notifications
You must be signed in to change notification settings - Fork 4
42 lines (36 loc) · 1.01 KB
/
webmentions.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: webmentions
on:
workflow_dispatch:
repository_dispatch:
types: [webmention]
schedule:
# daily at 02:17
- cron: "17 2 * * *"
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true
jobs:
webmentions:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache: true
- name: fetch webmentions
env:
WEBMENTION_IO_TOKEN: ${{ secrets.WEBMENTION_IO_TOKEN }}
run: go run ./cmd/mentions
- name: create pull request
uses: peter-evans/create-pull-request@70a41aba780001da0a30141984ae2a0c95d8704e # v6.0.2
with:
branch: automation/webmentions
delete-branch: true
commit-message: inbound webmentions
author: webmentions-sync <[email protected]>
title: inbound webmentions
labels: |
webmentions
reviewers: willnorris
body: ""