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
|
2019-10-02 02:31:08 +02:00
|
|
|
uses: stefanzweifel/git-auto-commit-action@v2.1.0
|
2019-09-09 14:55:37 +02:00
|
|
|
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-10-02 16:57:20 +02:00
|
|
|
branch: ${{ github.head_ref }}
|
2019-09-09 14:55:37 +02:00
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|