iptv/.github/workflows/format.yml
2021-01-02 10:41:23 +03:00

28 lines
660 B
YAML

name: format
on:
schedule:
- cron: '0 0 * * *'
jobs:
format:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install Dependencies
run: npm install
- name: Format Playlists
run: npm run format
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with:
token: ${{ secrets.REPO_SCOPED_TOKEN }}
commit-message: 'Format playlists'
branch: bot-patch
title: '[Bot] Format playlists'
labels: automerge
body: |
This pull request is auto-generated by GitHub action.