diff --git a/.github/workflows/dprint-update-plugin.yml b/.github/workflows/dprint-update-plugin.yml deleted file mode 100644 index 64fc72e3..00000000 --- a/.github/workflows/dprint-update-plugin.yml +++ /dev/null @@ -1,37 +0,0 @@ -name: Update dprint plugins -on: - push: - branches: ['main'] - paths: - - '.github/workflows/dprint-update-plugin.yml' - - 'dprint.json' - schedule: - - cron: '42 0 * * *' - # Allows you to run this workflow manually from the Actions tab - workflow_dispatch: - -permissions: - contents: write - pull-requests: write - -# Allow one concurrent updates -concurrency: - group: 'dprint' - cancel-in-progress: true - -jobs: - update: - runs-on: ubuntu-latest - timeout-minutes: 15 - steps: - - id: update-dprint-plugins - uses: kachick/action-update-dprint-plugins@v1 - with: - base-branch: 'main' - # Enable `Allow auto-merge` in your repository settings if you need following steps - - name: Merge sent PR - # Merge if `dprint fmt` does not make any diff even after updating plugins - if: ${{ steps.update-dprint-plugins.outputs.pr_url != '' && steps.update-dprint-plugins.outputs.fmt == 'false' }} - run: gh pr merge --auto --squash --delete-branch "${{ steps.update-dprint-plugins.outputs.pr_url }}" - env: - GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'