From 8c8f10f7b7f9d24365cd033e74cf03882ef6cc46 Mon Sep 17 00:00:00 2001 From: Aleksandr Statciuk Date: Wed, 24 May 2023 23:21:57 +0300 Subject: [PATCH] Update update.yml --- .github/workflows/update.yml | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index e0f6a779..c6fdcbc8 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -14,15 +14,4 @@ jobs: app_id: ${{ secrets.APP_ID }} private_key: ${{ secrets.APP_PRIVATE_KEY }} - run: npm install - - run: GITHUB_TOKEN=${{ steps.create-app-token.outputs.token }} npm run db:update --silent >> $GITHUB_OUTPUT - id: issue-process - - name: Validate Changes - run: npm run db:validate -- data/channels.csv - - name: Commit Changes - run: | - git config user.name ${{ github.actor }} - git config user.email '${{ github.actor }}@users.noreply.github.com' - git add data/channels.csv - git commit -m "[Bot] Update channels.csv" -m "Committed by [iptv-bot](https://github.com/apps/iptv-bot) via [update](https://github.com/iptv-org/database/actions/runs/${{ github.run_id }}) workflow." -m "${{ steps.issue-process.outputs.OUTPUT }}" --no-verify - git status - git push + - run: GITHUB_TOKEN=${{ steps.create-app-token.outputs.token }} npm run db:update >> $GITHUB_OUTPUT