Update auto-update.yml

This commit is contained in:
Aleksandr Statciuk 2021-08-02 04:41:01 +03:00
parent 0b2bd8720d
commit ab62155b36

View File

@ -30,8 +30,9 @@ jobs:
- name: Commit Changes - name: Commit Changes
uses: stefanzweifel/git-auto-commit-action@v4 uses: stefanzweifel/git-auto-commit-action@v4
with: with:
commit_message: '[Bot] Removed duplicates' commit_message: '[Bot] Remove duplicates'
branch: bot/auto-update branch: bot/auto-update
file_pattern: channels/*
filter: filter:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: remove-duplicates needs: remove-duplicates
@ -47,8 +48,9 @@ jobs:
- name: Commit Changes - name: Commit Changes
uses: stefanzweifel/git-auto-commit-action@v4 uses: stefanzweifel/git-auto-commit-action@v4
with: with:
commit_message: '[Bot] Filtered channels' commit_message: '[Bot] Filtere channels'
branch: bot/auto-update branch: bot/auto-update
file_pattern: channels/*
format: format:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: filter needs: filter
@ -64,8 +66,9 @@ jobs:
- name: Commit Changes - name: Commit Changes
uses: stefanzweifel/git-auto-commit-action@v4 uses: stefanzweifel/git-auto-commit-action@v4
with: with:
commit_message: '[Bot] Formated playlists' commit_message: '[Bot] Formate playlists'
branch: bot/auto-update branch: bot/auto-update
file_pattern: channels/*
detect-resolution: detect-resolution:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: format needs: format
@ -262,8 +265,9 @@ jobs:
- name: Commit Changes - name: Commit Changes
uses: stefanzweifel/git-auto-commit-action@v4 uses: stefanzweifel/git-auto-commit-action@v4
with: with:
commit_message: '[Bot] Detected resolution' commit_message: '[Bot] Detect resolution'
branch: bot/auto-update branch: bot/auto-update
file_pattern: channels/*
generate: generate:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: commit-changes needs: commit-changes
@ -293,11 +297,12 @@ 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: Upload Artifact - name: Commit Changes
uses: actions/upload-artifact@v2 uses: stefanzweifel/git-auto-commit-action@v4
with: with:
name: README.md commit_message: '[Bot] Update README.md'
path: README.md branch: bot/auto-update
file_pattern: README.md
pull-request: pull-request:
needs: update-readme needs: update-readme
runs-on: ubuntu-latest runs-on: ubuntu-latest