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
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
interval: "monthly"
groups:
actions:
patterns: ["*"]
15 changes: 11 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@ name: CI
# waits on before enabling auto-merge.

on:
push:
branches: [main]
paths-ignore:
- "**/*.md" # the daily profile refresh only touches README.md
pull_request:
branches: [main]

Expand Down Expand Up @@ -50,3 +46,14 @@ jobs:
yaml.safe_load(open(f))
print("ok", f)
PY

# Single stable name for the org's required-status-check ruleset to point
# at, regardless of how the real jobs above are split or renamed.
required-checks-passed:
name: Required checks passed
runs-on: ubuntu-latest
needs: [actionlint, scripts]
if: always()
steps:
- if: contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')
run: exit 1
7 changes: 6 additions & 1 deletion .github/workflows/dependabot-auto-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,10 @@ jobs:
permissions:
contents: write
pull-requests: write
if: github.event.workflow_run.conclusion == 'success'
# Every other actor's CI completion used to match this too, spinning up
# the reusable workflow (and its PR lookup) just to no-op - narrowing the
# trigger itself to the only actor that can ever be eligible below.
if: >-
github.event.workflow_run.conclusion == 'success' &&
github.event.workflow_run.actor.login == 'dependabot[bot]'
uses: drumandbytes/reusable-actions/.github/workflows/auto-merge.yml@v1
Loading