-
-
Notifications
You must be signed in to change notification settings - Fork 32
38 lines (29 loc) · 992 Bytes
/
schema.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
# https://help.github.com/en/categories/automating-your-workflow-with-github-actions
name: "Schema"
on:
schedule:
- cron: "0 12 * * *"
jobs:
schema:
name: "Schema"
runs-on: "ubuntu-latest"
steps:
- name: "Checkout"
uses: "actions/[email protected]"
- name: "Download schema"
run: "wget --output-document=resource/schema.json https://getcomposer.org/schema.json"
- name: "Show diff"
run: "git diff resource/schema.json"
- name: "Open pull request updating schema"
uses: "gr2m/[email protected]"
with:
author: "Andreas Möller <[email protected]>"
branch: "feature/schema"
body: |
This PR
* [x] updates `schema.json`
commit-message: "Enhancement: Update schema.json"
path: "resource/"
title: "Enhancement: Update schema.json"
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"