Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,11 @@ updates:
timezone: "America/Los_Angeles"
open-pull-requests-limit: 3
rebase-strategy: auto

- package-ecosystem: "github-actions"
directory: "/"
schedule:
# Check for updates to GitHub Actions every day
interval: "daily"
open-pull-requests-limit: 3
rebase-strategy: auto
10 changes: 10 additions & 0 deletions .github/workflows/dependabot-automerge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,16 @@ jobs:
uses: ./.github/workflows/pull-from-bazel-build.yml
secrets: inherit

approve-pr:
needs: [check-dependabot, generate-docs]
if: needs.check-dependabot.outputs.should_process == 'true'
runs-on: ubuntu-latest
steps:
- name: Approve pull request
run: gh pr review --approve "${{ github.event.pull_request.html_url }}"
env:
GH_TOKEN: ${{ secrets.GH_AUTOMERGE_PAT }}

# Auto-merge after docs are generated
enable-automerge:
needs: [check-dependabot, generate-docs]
Expand Down
Loading