You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
name: Format Playlists
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
paths:
|
|
|
|
- 'channels/*'
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
format:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@master
|
|
|
|
|
|
|
|
- name: Install Dependencies
|
|
|
|
run: npm install
|
|
|
|
|
|
|
|
- name: Format Playlists
|
|
|
|
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: formatted
|
|
|
|
PULL_REQUEST_BODY: >
|
|
|
|
This pull request is auto-generated by GitHub action.
|
|
|
|
automerge:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
needs: format
|
|
|
|
steps:
|
|
|
|
- name: automerge
|
|
|
|
uses: pascalgn/automerge-action@f84dd310ea4a19890c70a4ff11ab282a872fb94b
|
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
AUTOMERGE: "formatted"
|