Combine all actions into one workflow

This commit is contained in:
freearhey
2021-02-08 13:53:24 +03:00
parent ba7e70634e
commit 206f318439
4 changed files with 78 additions and 100 deletions

View File

@@ -1,28 +0,0 @@
name: format
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *'
jobs:
format:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install Dependencies
run: npm install
- name: Format Playlists
run: node scripts/format.js
- name: Create Pull Request
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.