diff --git a/.github/workflows/update-pre-commit.yml b/.github/workflows/update-pre-commit.yml deleted file mode 100644 index 80921b56615..00000000000 --- a/.github/workflows/update-pre-commit.yml +++ /dev/null @@ -1,36 +0,0 @@ -name: Pre-commit auto-update -on: - schedule: - - cron: '0 0 * * *' -permissions: {} -jobs: - auto-update: - if: github.repository_owner == 'aiohttp' - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v5 - - name: Set up Python - uses: actions/setup-python@v6 - with: - python-version: 3.10 - - name: Install dependencies - run: >- - pip install -r requirements/lint.in -c requirements/lint.txt - - name: Run pre-commit autoupdate - run: pre-commit autoupdate - - id: generate_token - uses: tibdex/github-app-token@v2.1 - with: - app_id: ${{ secrets.BOT_APP_ID }} - private_key: ${{ secrets.BOT_PRIVATE_KEY }} - - name: Create Pull Request - uses: peter-evans/create-pull-request@v7 - with: - token: ${{ steps.generate_token.outputs.token }} - branch: update/pre-commit-autoupdate - title: Auto-update pre-commit hooks - commit-message: Auto-update pre-commit hooks - body: | - Update versions of tools in pre-commit - configs to latest version - labels: dependencies backport-3.10 backport-3.11 diff --git a/CHANGES/11689.contrib.rst b/CHANGES/11689.contrib.rst new file mode 100644 index 00000000000..1f6404aa4bd --- /dev/null +++ b/CHANGES/11689.contrib.rst @@ -0,0 +1 @@ +Removed unused ``update-pre-commit`` github action workflow -- by :user:`Cycloctane`.