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 diff --git a/.github/workflows/Doc.yml b/.github/workflows/Doc.yml index 699b566..4f065ae 100644 --- a/.github/workflows/Doc.yml +++ b/.github/workflows/Doc.yml @@ -9,6 +9,7 @@ on: jobs: + Docs: if: ${{ !(github.event_name != 'pull_request' && github.actor == 'dependabot[bot]') }} runs-on: ubuntu-latest @@ -49,3 +50,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