Skip to content

Commit

Permalink
Merge pull request #325 from ergebnis/feature/schema
Browse files Browse the repository at this point in the history
Enhancement: Open pull request when schema.json has changed
  • Loading branch information
localheinz authored Jan 16, 2020
2 parents 9ff585e + 174b8da commit 69ec6fd
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,17 @@ jobs:
- name: "Show diff"
run: "git diff resource/schema.json"

- name: "Commit updated schema"
uses: "stefanzweifel/git-auto-commit-action@v2.5.0"
- name: "Open pull request updating schema"
uses: "gr2m/create-or-update-pull-request-action@v1.2.9"
with:
branch: "master"
commit_message: "Enhancement: Update schema.json"
file_pattern: "resource\\/schema\\.json"
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.ERGEBNIS_BOT_TOKEN }}"
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

0 comments on commit 69ec6fd

Please sign in to comment.