Update workflow
This commit is contained in:
36
.github/workflows/auto-update.yml
vendored
36
.github/workflows/auto-update.yml
vendored
@@ -1,36 +0,0 @@
|
||||
name: auto-update
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 0 * * *'
|
||||
|
||||
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
|
||||
|
||||
- name: "npm run format --epg"
|
||||
run: npm run format --epg
|
||||
|
||||
- name: "npm run generate"
|
||||
run: npm run generate
|
||||
|
||||
- name: "npm run update-readme"
|
||||
run: npm run update-readme
|
||||
|
||||
- name: Create Pull Request
|
||||
uses: peter-evans/create-pull-request@v1.5.1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
COMMIT_MESSAGE: 'Auto-update repository'
|
||||
PULL_REQUEST_BRANCH: auto-update/patch
|
||||
PULL_REQUEST_TITLE: '[Bot] Auto-update repository'
|
||||
PULL_REQUEST_BODY: >
|
||||
This pull request is auto-generated by auto-update action.
|
||||
Reference in New Issue
Block a user