mirror of https://github.com/iptv-org/iptv
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
690 B
YAML
29 lines
690 B
YAML
name: Update README.md
|
|
|
|
on:
|
|
schedule:
|
|
- cron: '0 0 * * *'
|
|
|
|
jobs:
|
|
generate:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@master
|
|
|
|
- name: Install Dependencies
|
|
run: npm install
|
|
|
|
- name: Update README.md
|
|
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: 'Update README.md'
|
|
PULL_REQUEST_BRANCH: bot-patch
|
|
PULL_REQUEST_TITLE: '[Bot] Update README.md'
|
|
PULL_REQUEST_BODY: >
|
|
This pull request is auto-generated by GitHub action.
|