diff --git a/.github/workflows/auto-approve.yml b/.github/workflows/auto-approve.yml deleted file mode 100644 index e4fe0dc97..000000000 --- a/.github/workflows/auto-approve.yml +++ /dev/null @@ -1,10 +0,0 @@ -name: auto-approve -on: pull_request - -jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: hmarr/auto-approve-action@v2.0.0 - with: - github-token: "${{ secrets.GITHUB_TOKEN }}" diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml deleted file mode 100644 index 7b426d8ec..000000000 --- a/.github/workflows/format.yml +++ /dev/null @@ -1,34 +0,0 @@ -name: format - -on: - push: - branches: - - dev - paths: - - 'channels/*' - -jobs: - generate: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v1 - - - name: "git checkout master" - run: git checkout master - - - name: "npm install" - run: npm install - - - name: "npm run format" - run: npm run format - - - name: Create Pull Request - uses: peter-evans/create-pull-request@v1.5.1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - BRANCH_SUFFIX: none - - - name: Auto-approve Pull Request - uses: hmarr/auto-approve-action@v2.0.0 - with: - github-token: "${{ secrets.GITHUB_TOKEN }}" diff --git a/.github/workflows/generate.yml b/.github/workflows/generate.yml deleted file mode 100644 index 268d8138c..000000000 --- a/.github/workflows/generate.yml +++ /dev/null @@ -1,30 +0,0 @@ -name: generate - -on: - schedule: - - cron: '0 0 * * *' - -jobs: - generate: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v1 - - - name: "git checkout master" - run: git checkout master - - - name: "npm install" - run: npm install - - - name: "npm run generate" - run: npm run generate - - - name: Commit all changes - uses: stefanzweifel/git-auto-commit-action@v2.1.0 - with: - commit_author_email: free.arhey@gmail.com - commit_author_name: Arhey - commit_message: Generated grouped playlists - branch: master - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}