Update format.yml

pull/1891/head
freearhey 4 years ago
parent 47b867a239
commit df53c8f365

@ -1,15 +1,13 @@
name: Format playlists
name: format
on:
schedule:
- cron: '0 0 * * *'
jobs:
format:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
uses: actions/checkout@v2
- name: Install Dependencies
run: npm install
@ -18,12 +16,12 @@ jobs:
run: npm run format
- name: Create Pull Request
uses: peter-evans/create-pull-request@v1.6.0
env:
GITHUB_TOKEN: ${{ secrets.REPO_SCOPED_TOKEN }}
COMMIT_MESSAGE: 'Formatted playlists'
PULL_REQUEST_BRANCH: bot-patch
PULL_REQUEST_TITLE: '[Bot] Format playlists'
PULL_REQUEST_LABELS: automerge
PULL_REQUEST_BODY: >
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.

Loading…
Cancel
Save