You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/setup.md
+36Lines changed: 36 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,13 @@ Result:
18
18
- branch and PR creation use the repo `GITHUB_TOKEN`
19
19
-`tabex-bin` and `osyrra-bin` update only if the repo has access to `SHPIT_GH_TOKEN`
20
20
- AUR publishing is skipped without failing
21
+
- upstream `tabex` and `osyrra` release workflows can also trigger this workflow automatically with `gh workflow run version-bumps.yml`, but that depends on `SHPIT_WORKFLOW_DISPATCH_TOKEN` being available in their Depot CI repo secrets
If you later want to narrow or broaden repo access without changing the secret value, rerun the same command with a different repo list.
36
43
44
+
## SHPIT_WORKFLOW_DISPATCH_TOKEN
45
+
46
+
Create a fine-grained PAT that can trigger workflow dispatches in:
47
+
48
+
-`shpitdev/homebrew-tap`
49
+
-`shpitdev/pkgbuilds`
50
+
51
+
Store that PAT as the GitHub org secret `SHPIT_WORKFLOW_DISPATCH_TOKEN` with `selected` visibility for these producer repos:
52
+
53
+
-`shpitdev/tabex`
54
+
-`shpitdev/osyrra`
55
+
56
+
Those producer release workflows run in Depot CI, so GitHub org secrets are not enough on their own. Mirror the same secret into Depot for each producer repo with one of these paths:
57
+
58
+
```bash
59
+
cd /home/anandpant/Development/shpitdev/tabex
60
+
depot ci migrate secrets-and-vars -y
61
+
62
+
cd /home/anandpant/Development/shpitdev/osyrra
63
+
depot ci migrate secrets-and-vars -y
64
+
```
65
+
66
+
Or add the Depot secrets directly:
67
+
68
+
```bash
69
+
depot ci secrets add SHPIT_WORKFLOW_DISPATCH_TOKEN --repo shpitdev/tabex
70
+
depot ci secrets add SHPIT_WORKFLOW_DISPATCH_TOKEN --repo shpitdev/osyrra
71
+
```
72
+
37
73
## Local Operator Flow
38
74
39
75
If you are logged into GitHub locally with `gh auth login`, you can run:
0 commit comments