From df6a586a5f6e3cf50fdd26561d976d9f359a7808 Mon Sep 17 00:00:00 2001 From: Unai Martinez-Corral Date: Tue, 29 Mar 2022 14:00:48 +0200 Subject: [PATCH 1/2] ci/dependabot: handle gitsubmodules Signed-off-by: Unai Martinez-Corral --- .github/dependabot.yml | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 4bd1b36..c3437c6 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,7 +1,17 @@ version: 2 updates: -- package-ecosystem: github-actions - directory: / - schedule: - interval: weekly - open-pull-requests-limit: 99 + + - package-ecosystem: gitsubmodule + directory: / + schedule: + interval: daily + open-pull-requests-limit: 99 + labels: + - dependencies + - third-party + + - package-ecosystem: github-actions + directory: / + schedule: + interval: weekly + open-pull-requests-limit: 99 From e6c33536ca0a67c00dac2b4abac4617ae4bdf9fb Mon Sep 17 00:00:00 2001 From: Unai Martinez-Corral Date: Tue, 29 Mar 2022 14:02:29 +0200 Subject: [PATCH 2/2] ci: automerge dependabot PRs Signed-off-by: Unai Martinez-Corral --- .github/workflows/Doc.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/Doc.yml b/.github/workflows/Doc.yml index 8311aad..7ba2f12 100644 --- a/.github/workflows/Doc.yml +++ b/.github/workflows/Doc.yml @@ -9,6 +9,7 @@ on: jobs: + Docs: runs-on: ubuntu-latest name: '📓 Docs' @@ -48,3 +49,17 @@ jobs: git config --local user.name "GitHub Actions" git commit -a -m "update ${{ github.sha }}" git push -u origin +HEAD:gh-pages + + + Automerge: + needs: Test + if: github.event_name == 'pull_request' && github.actor == 'dependabot[bot]' + runs-on: ubuntu-latest + name: Automerge dependabot PRs + permissions: + contents: write + + steps: + + - name: Auto-merge Dependabot PR + run: GITHUB_TOKEN='${{ github.token }}' gh pr merge '${{ github.event.pull_request.html_url }}' --squash