2019-10-06 21:24:02 +02:00
|
|
|
name: auto-update
|
|
|
|
|
|
|
|
on:
|
|
|
|
schedule:
|
2019-10-08 04:40:31 +02:00
|
|
|
- cron: '0 0 * * *'
|
2019-10-06 21:24:02 +02:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
generate:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v1
|
|
|
|
|
|
|
|
- name: "git checkout master"
|
|
|
|
run: git checkout master
|
|
|
|
|
|
|
|
- name: "npm install"
|
|
|
|
run: npm install
|
|
|
|
|
2019-10-25 23:05:47 +02:00
|
|
|
- name: "npm run format --epg"
|
|
|
|
run: npm run format --epg
|
2019-10-06 21:24:02 +02:00
|
|
|
|
|
|
|
- name: "npm run generate"
|
|
|
|
run: npm run generate
|
2019-10-09 04:46:48 +02:00
|
|
|
|
|
|
|
- name: "npm run generate:readme"
|
|
|
|
run: npm run generate:readme
|
2019-10-06 21:24:02 +02:00
|
|
|
|
|
|
|
- name: Create Pull Request
|
|
|
|
uses: peter-evans/create-pull-request@v1.5.1
|
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
2019-10-09 04:46:48 +02:00
|
|
|
COMMIT_MESSAGE: 'Auto-update repository'
|
2019-10-06 21:35:29 +02:00
|
|
|
PULL_REQUEST_BRANCH: auto-update/patch
|
2019-10-09 04:46:48 +02:00
|
|
|
PULL_REQUEST_TITLE: '[Bot] Auto-update repository'
|
2019-10-06 21:24:02 +02:00
|
|
|
PULL_REQUEST_BODY: >
|
2019-10-09 04:46:48 +02:00
|
|
|
This pull request is auto-generated by auto-update action.
|