Skip to content

Commit c1014bd

Browse files
committed
ci(deps): add bump-tracker (dispatch/schedule need it on the default branch)
Co-Authored-By: Virgil <virgil@lethean.io>
1 parent c815b99 commit c1014bd

1 file changed

Lines changed: 46 additions & 0 deletions

File tree

.github/workflows/deps.yml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# Dependency-bump issue tracker — Core ecosystem Go repos.
2+
# Copy to .github/workflows/deps.yml in each repo.
3+
#
4+
# Opens/updates a single 'deps'-labelled issue listing dappco.re/* dependencies
5+
# that have a newer published release (and closes it when all are current). Open
6+
# 'deps' issues across every repo then ARE the ecosystem's version-bump work
7+
# queue — filter by the label to see exactly what's outstanding.
8+
#
9+
# Triggers:
10+
# - schedule → daily safety-net poll
11+
# - workflow_dispatch → run on demand (set dry-run to preview the issue body)
12+
# - repository_dispatch → an upstream release can ping {"event_type":"dep-bump"}
13+
name: Deps
14+
15+
on:
16+
schedule:
17+
- cron: "0 7 * * *"
18+
workflow_dispatch:
19+
inputs:
20+
dry-run:
21+
description: "Preview the issue body without touching issues"
22+
type: boolean
23+
default: false
24+
repository_dispatch:
25+
types: [dep-bump]
26+
27+
permissions:
28+
contents: read
29+
issues: write
30+
31+
jobs:
32+
deps:
33+
runs-on: ubuntu-latest
34+
env:
35+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
36+
steps:
37+
# go-inference is dev-canonical (main is the stale release branch), so the
38+
# tracker scans dev's go.mod even when dispatched/scheduled from main.
39+
- uses: actions/checkout@v4
40+
with:
41+
ref: dev
42+
43+
- uses: dAppCore/build/actions/deps@dev
44+
with:
45+
go-mod-dir: go
46+
dry-run: ${{ github.event.inputs.dry-run || 'false' }}

0 commit comments

Comments
 (0)