From 302cd5239a274655e4b90cddf64906944bb94cf0 Mon Sep 17 00:00:00 2001 From: freearhey Date: Sat, 2 Jan 2021 10:41:16 +0300 Subject: [PATCH] Renamee publish.yml to update.yml --- .github/workflows/{publish.yml => update.yml} | 20 +++++++++---------- 1 file changed, 9 insertions(+), 11 deletions(-) rename .github/workflows/{publish.yml => update.yml} (74%) diff --git a/.github/workflows/publish.yml b/.github/workflows/update.yml similarity index 74% rename from .github/workflows/publish.yml rename to .github/workflows/update.yml index ab0c74df1a..9477624f79 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/update.yml @@ -1,12 +1,10 @@ -name: Publish playlists - +name: update on: workflow_dispatch: schedule: - cron: '0 1 * * *' - jobs: - deploy: + generate: runs-on: ubuntu-latest steps: - name: Checkout @@ -40,11 +38,11 @@ jobs: - name: Create Pull Request uses: peter-evans/create-pull-request@v3 - env: - GITHUB_TOKEN: ${{ secrets.REPO_SCOPED_TOKEN }} - COMMIT_MESSAGE: 'Update README.md' - PULL_REQUEST_BRANCH: bot-patch - PULL_REQUEST_TITLE: '[Bot] Update README.md' - PULL_REQUEST_LABELS: automerge - PULL_REQUEST_BODY: > + with: + token: ${{ secrets.REPO_SCOPED_TOKEN }} + commit-message: 'Update README.md' + branch: bot-patch + title: '[Bot] Update README.md' + labels: automerge + body: | This pull request is auto-generated by GitHub action.