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
689 B
YAML
29 lines
689 B
YAML
name: format
|
|
on:
|
|
workflow_dispatch:
|
|
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.
|