iptv/.github/workflows/format.yml
Aleksandr Statciuk 0e893bc957
Update format.yml
2019-09-10 02:16:04 +03:00

33 lines
659 B
YAML

name: format
on:
push:
branches:
- master
paths:
- 'channels/*'
jobs:
generate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: "git checkout master"
run: git checkout master
- name: "npm install"
run: npm install
- name: "npm run format"
run: npm run format
- name: Commit all changes
uses: stefanzweifel/git-auto-commit-action@v2.0.0
with:
commit_author_email: free.arhey@gmail.com
commit_author_name: Arhey
commit_message: Formatted playlists
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}