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.