From df53c8f365119f9f9dc7dbae94d88605d277e5ca Mon Sep 17 00:00:00 2001 From: freearhey Date: Sat, 2 Jan 2021 10:41:23 +0300 Subject: [PATCH] Update format.yml --- .github/workflows/format.yml | 42 +++++++++++++++++------------------- 1 file changed, 20 insertions(+), 22 deletions(-) diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index d7ba129cc..91826e37e 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -1,29 +1,27 @@ -name: Format playlists - +name: format on: schedule: - - cron: '0 0 * * *' - + - cron: '0 0 * * *' 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: automerge - PULL_REQUEST_BODY: > + - name: Checkout + uses: actions/checkout@v2 + + - name: Install Dependencies + run: npm install + + - name: Format Playlists + run: npm run format + + - 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.