Remove extra steps
This commit is contained in:
parent
7e0019e879
commit
cec5581a83
52
.github/workflows/auto-update.yml
vendored
52
.github/workflows/auto-update.yml
vendored
@ -13,27 +13,16 @@ jobs:
|
|||||||
run: npm install
|
run: npm install
|
||||||
- name: Format Playlists
|
- name: Format Playlists
|
||||||
run: node scripts/format.js
|
run: node scripts/format.js
|
||||||
- name: Create Pull Request
|
- name: Commit Changes
|
||||||
uses: peter-evans/create-pull-request@v3
|
run: |
|
||||||
with:
|
git config user.name github-actions
|
||||||
token: ${{ secrets.REPO_SCOPED_TOKEN }}
|
git config user.email github-actions@github.com
|
||||||
commit-message: 'Format playlists'
|
git add .
|
||||||
branch: bot-patch
|
git commit -m "[Bot] Format playlists"
|
||||||
title: '[Bot] Format playlists'
|
git push
|
||||||
labels: automerge
|
|
||||||
body: |
|
|
||||||
This pull request is auto-generated by GitHub action.
|
|
||||||
merge-format:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
needs: format
|
|
||||||
steps:
|
|
||||||
- name: Merge Pull Request
|
|
||||||
uses: 'pascalgn/automerge-action@v0.13.0'
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
|
|
||||||
generate:
|
generate:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: merge-format
|
needs: format
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
@ -58,21 +47,10 @@ jobs:
|
|||||||
run: npm install
|
run: npm install
|
||||||
- name: Update README.md
|
- name: Update README.md
|
||||||
run: node scripts/update-readme.js
|
run: node scripts/update-readme.js
|
||||||
- name: Create Pull Request
|
- name: Commit Changes
|
||||||
uses: peter-evans/create-pull-request@v3
|
run: |
|
||||||
with:
|
git config user.name github-actions
|
||||||
token: ${{ secrets.REPO_SCOPED_TOKEN }}
|
git config user.email github-actions@github.com
|
||||||
commit-message: 'Update README.md'
|
git add .
|
||||||
branch: bot-patch
|
git commit -m "[Bot] Update README.md"
|
||||||
title: '[Bot] Update README.md'
|
git push
|
||||||
labels: automerge
|
|
||||||
body: |
|
|
||||||
This pull request is auto-generated by GitHub action.
|
|
||||||
merge-readme:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
needs: update-readme
|
|
||||||
steps:
|
|
||||||
- name: Merge Pull Request
|
|
||||||
uses: 'pascalgn/automerge-action@v0.13.0'
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
|
|
||||||
|
Loading…
Reference in New Issue
Block a user