From 89958eb64a8b09d8f1c8a3596b1a2382dd9c9552 Mon Sep 17 00:00:00 2001 From: Leonardo Romanini <97033241+romanini-ciandt@users.noreply.github.com> Date: Mon, 4 Nov 2024 14:05:36 -0300 Subject: [PATCH] fix: Remove dependabot automation (#137) Co-authored-by: Alessio Buraggina <28165200+tdbhacks@users.noreply.github.com> --- .github/workflows/dependabot-automation.yaml | 45 -------------------- 1 file changed, 45 deletions(-) delete mode 100644 .github/workflows/dependabot-automation.yaml diff --git a/.github/workflows/dependabot-automation.yaml b/.github/workflows/dependabot-automation.yaml deleted file mode 100644 index 4a6cc788..00000000 --- a/.github/workflows/dependabot-automation.yaml +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 2024 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - ---- -name: Dependabot automation - -on: # yamllint disable-line rule:truthy - pull_request: - types: - - opened - - synchronize - -permissions: - contents: write - pull-requests: write - -jobs: - dependabot: - env: - PR_URL: ${{github.event.pull_request.html_url}} - GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} - runs-on: ubuntu-latest - if: github.actor == 'dependabot[bot]' - steps: - - name: Fetch Dependabot metadata - id: metadata - uses: dependabot/fetch-metadata@v2 - with: - github-token: "${{ secrets.GITHUB_TOKEN }}" - - name: Approve the PR - run: gh pr review --approve "${PR_URL}" - - name: Enable auto-merge for PRs - run: gh pr merge --auto --squash --delete-branch "${PR_URL}" -...