iptv/.github/workflows/format.yml

30 lines
728 B
YAML
Raw Normal View History

2019-11-03 11:08:05 +01:00
name: Format playlists
2019-11-02 17:12:03 +01:00
on:
2019-11-03 11:08:05 +01:00
schedule:
- cron: '0 0 * * *'
2019-11-02 17:12:03 +01:00
jobs:
2019-11-03 09:30:43 +01:00
format:
2019-11-02 17:12:03 +01:00
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
- name: Install Dependencies
run: npm install
- name: Format Playlists
2019-11-02 17:17:54 +01:00
run: npm run format
2019-11-02 17:12:03 +01:00
- name: Create Pull Request
2019-11-03 09:00:17 +01:00
uses: peter-evans/create-pull-request@v1.6.0
2019-11-02 17:12:03 +01:00
env:
2019-11-03 09:13:45 +01:00
GITHUB_TOKEN: ${{ secrets.REPO_SCOPED_TOKEN }}
2019-11-03 09:00:17 +01:00
COMMIT_MESSAGE: 'Formatted playlists'
2019-11-02 17:12:03 +01:00
PULL_REQUEST_BRANCH: bot-patch
PULL_REQUEST_TITLE: '[Bot] Format playlists'
2019-11-03 10:55:59 +01:00
PULL_REQUEST_LABELS: automerge
2019-11-02 17:12:03 +01:00
PULL_REQUEST_BODY: >
This pull request is auto-generated by GitHub action.