iptv/.github/workflows/format.yml
2021-01-16 17:15:30 +03:00

28 lines
668 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: node scripts/format.js
- 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.