Update format.yml
This commit is contained in:
parent
47b867a239
commit
df53c8f365
36
.github/workflows/format.yml
vendored
36
.github/workflows/format.yml
vendored
@ -1,29 +1,27 @@
|
|||||||
name: Format playlists
|
name: format
|
||||||
|
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 0 * * *'
|
- cron: '0 0 * * *'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
format:
|
format:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@master
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
run: npm install
|
run: npm install
|
||||||
|
|
||||||
- name: Format Playlists
|
- name: Format Playlists
|
||||||
run: npm run format
|
run: npm run format
|
||||||
|
|
||||||
- name: Create Pull Request
|
- name: Create Pull Request
|
||||||
uses: peter-evans/create-pull-request@v1.6.0
|
uses: peter-evans/create-pull-request@v3
|
||||||
env:
|
with:
|
||||||
GITHUB_TOKEN: ${{ secrets.REPO_SCOPED_TOKEN }}
|
token: ${{ secrets.REPO_SCOPED_TOKEN }}
|
||||||
COMMIT_MESSAGE: 'Formatted playlists'
|
commit-message: 'Format playlists'
|
||||||
PULL_REQUEST_BRANCH: bot-patch
|
branch: bot-patch
|
||||||
PULL_REQUEST_TITLE: '[Bot] Format playlists'
|
title: '[Bot] Format playlists'
|
||||||
PULL_REQUEST_LABELS: automerge
|
labels: automerge
|
||||||
PULL_REQUEST_BODY: >
|
body: |
|
||||||
This pull request is auto-generated by GitHub action.
|
This pull request is auto-generated by GitHub action.
|
||||||
|
Loading…
Reference in New Issue
Block a user