Merge pull request #542 from antmicro/umarcor/dependabot/gitsubmodules
ci/dependabot: handle gitsubmodules
This commit is contained in:
commit
a3ba8a03a6
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue