iptv/.github/workflows/format.yml

33 lines
659 B
YAML
Raw Normal View History

2019-09-10 01:16:04 +02:00
name: format
2019-09-09 14:55:37 +02:00
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
2019-09-09 15:03:53 +02:00
- name: "npm run format"
run: npm run format
2019-09-09 14:55:37 +02:00
- 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
2019-09-09 15:26:02 +02:00
commit_message: Formatted playlists
2019-09-09 14:55:37 +02:00
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}