Skip to content

Commit ca268c3

Browse files
committed
Add a workflow to verify the plugin distribution on an hourly basis.
1 parent 42071dd commit ca268c3

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow
2+
3+
name: Verify Plugin Distribution
4+
on:
5+
schedule:
6+
# Once per hour
7+
#
8+
# ┌───────────── minute (0 - 59)
9+
# │ ┌────────── hour (0 - 23)
10+
# │ │ ┌─────── day of the month (1 - 31)
11+
# │ │ │ ┌──── month (1 - 12 or JAN-DEC)
12+
# │ │ │ │ ┌─ day of the week (0 - 6 or SUN-SAT)
13+
# │ │ │ │ │
14+
# │ │ │ │ │
15+
# │ │ │ │ │
16+
- cron: '0 * * * *'
17+
push:
18+
branches:
19+
- 'develop'
20+
paths:
21+
- '.github/workflows/verify-distribution.yml'
22+
pull_request:
23+
branches:
24+
- '**'
25+
paths:
26+
- '.github/workflows/verify-distribution.yml'
27+
workflow_dispatch:
28+
29+
permissions: {}
30+
31+
jobs:
32+
verify:
33+
name: Verify Plugin Distribution
34+
permissions: {}
35+
uses: johnbillion/plugin-infrastructure/.github/workflows/reusable-verify-distribution.yml@trunk
36+
with:
37+
plugin: wp-crontrol
38+
owner: johnbillion

0 commit comments

Comments
 (0)