From d9c9dc6d6bd9153a442d0818c2fce722988e7843 Mon Sep 17 00:00:00 2001 From: Samuel Moelius <35515885+smoelius@users.noreply.github.com> Date: Wed, 15 Jan 2025 04:37:18 -0500 Subject: [PATCH] Delete .github/workflows/dependabot.yml --- .github/workflows/dependabot.yml | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 .github/workflows/dependabot.yml diff --git a/.github/workflows/dependabot.yml b/.github/workflows/dependabot.yml deleted file mode 100644 index 291c40b2..00000000 --- a/.github/workflows/dependabot.yml +++ /dev/null @@ -1,31 +0,0 @@ -name: Dependabot workflow - -on: pull_request - -jobs: - dependabot: - if: ${{ github.actor == 'dependabot[bot]' }} - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - - name: Check updated files - # smoelius: Dependabot should update only manifest and/or lockfiles. Hard error otherwise. - run: | - git diff --name-only ${{ github.event.pull_request.base.sha }} | grep -m 1 . - ! git diff --name-only ${{ github.event.pull_request.base.sha }} | grep -v '^\.github/workflows/\|\(^\|/\)Cargo\.\(lock\|toml\)$' - - - uses: actions/github-script@v7 - with: - github-token: ${{ secrets.DEPENDABOT_REPO_TOKEN }} - script: | - github.rest.issues.createComment({ - issue_number: context.issue.number, - owner: context.repo.owner, - repo: context.repo.repo, - body: '@dependabot merge' - })