Skip to content

Commit de4230b

Browse files
committed
Fix: peel the tag before moving the major, and refresh the catalog for v2
release.yml ran `git tag -fa "$MAJOR" ... "$TAG"` where $TAG is itself an annotated tag, which makes git tag a tag: refs/tags/vX then points at the v-tag object rather than the commit. Actions resolves it by peeling, so it never surfaced — but anything reading the ref directly sees a tag object. Proven while cutting v2 by hand during the Actions outage; `$TAG^{}` is the fix. The catalog now reflects post-rename main: 17 references to 13 assets, up from 8 to 7, because the sf-package-* actions and the dispatch chain are visible for the first time. It also surfaces a live breakage the rename caused, recorded here rather than left for someone to hit: sf-develop-demo/.github/workflows/test-aws-secrets.yml calls sf-jwt-login@main, and that action no longer exists on main. The two sfdx_template_enterprise callers are pinned @v1 and are unaffected.
1 parent 652aaeb commit de4230b

3 files changed

Lines changed: 176 additions & 35 deletions

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,9 @@ jobs:
3232
MAJOR="${TAG%%.*}"
3333
git config user.name "github-actions[bot]"
3434
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
35-
git tag -fa "$MAJOR" -m "Point $MAJOR at $TAG" "$TAG"
35+
# `$TAG^{}` peels the annotated tag to the commit. Without it git tags a
36+
# tag — a nested tag — and `refs/tags/$MAJOR` then points at the v-tag
37+
# object rather than the commit. Actions still resolves it by peeling, so
38+
# this stays invisible until something reads the ref directly.
39+
git tag -fa "$MAJOR" -m "Point $MAJOR at $TAG" "$TAG^{}"
3640
git push origin "$MAJOR" --force

docs/usage-catalog.json

Lines changed: 121 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,63 +1,63 @@
11
{
22
"schemaVersion": 1,
33
"org": "Gforce-Innovation-Kft",
4-
"generatedAt": "2026-08-06T15:09:52Z",
4+
"generatedAt": "2026-08-06T17:06:27Z",
55
"assets": [
66
{
77
"kind": "actions",
8-
"name": "get-aws-secret",
8+
"name": "aws-secret-get",
99
"consumers": [
1010
{
1111
"repo": "shared-github-actions",
1212
"references": [
1313
{
14-
"file": ".github/actions/sf-jwt-login/action.yml",
15-
"ref": "main"
14+
"file": ".github/actions/sf-org-login/action.yml",
15+
"ref": "v2"
1616
}
1717
]
1818
}
1919
]
2020
},
2121
{
2222
"kind": "actions",
23-
"name": "sf-delta-package",
23+
"name": "sf-apex-test-select",
2424
"consumers": [
2525
{
2626
"repo": "shared-github-actions",
2727
"references": [
2828
{
29-
"file": ".github/workflows/sf-release.yml",
30-
"ref": "v1"
29+
"file": ".github/workflows/reusable-sf-release.yml",
30+
"ref": "v2"
3131
}
3232
]
3333
}
3434
]
3535
},
3636
{
3737
"kind": "actions",
38-
"name": "sf-find-tests",
38+
"name": "sf-jwt-login",
3939
"consumers": [
4040
{
41-
"repo": "shared-github-actions",
41+
"repo": "sf-develop-demo",
4242
"references": [
4343
{
44-
"file": ".github/workflows/sf-release.yml",
45-
"ref": "v1"
44+
"file": ".github/workflows/test-aws-secrets.yml",
45+
"ref": "main"
4646
}
4747
]
4848
}
4949
]
5050
},
5151
{
5252
"kind": "actions",
53-
"name": "sf-jwt-login",
53+
"name": "sf-ops-callback",
5454
"consumers": [
5555
{
56-
"repo": "sf-develop-demo",
56+
"repo": "shared-github-actions",
5757
"references": [
5858
{
59-
"file": ".github/workflows/test-aws-secrets.yml",
60-
"ref": "main"
59+
"file": ".github/workflows/reusable-sf-ops-dispatch.yml",
60+
"ref": "v2"
6161
}
6262
]
6363
}
@@ -71,12 +71,114 @@
7171
"repo": "shared-github-actions",
7272
"references": [
7373
{
74-
"file": ".github/workflows/sf-pr-validate.yml",
75-
"ref": "v1"
74+
"file": ".github/workflows/reusable-sf-ops-dispatch.yml",
75+
"ref": "v2"
7676
},
7777
{
78-
"file": ".github/workflows/sf-release.yml",
79-
"ref": "v1"
78+
"file": ".github/workflows/reusable-sf-package-release.yml",
79+
"ref": "v2"
80+
},
81+
{
82+
"file": ".github/workflows/reusable-sf-pr-validate.yml",
83+
"ref": "v2"
84+
},
85+
{
86+
"file": ".github/workflows/reusable-sf-release.yml",
87+
"ref": "v2"
88+
}
89+
]
90+
}
91+
]
92+
},
93+
{
94+
"kind": "actions",
95+
"name": "sf-org-scratch-create",
96+
"consumers": [
97+
{
98+
"repo": "shared-github-actions",
99+
"references": [
100+
{
101+
"file": ".github/workflows/reusable-sf-package-release.yml",
102+
"ref": "v2"
103+
},
104+
{
105+
"file": ".github/workflows/reusable-sf-pr-validate.yml",
106+
"ref": "v2"
107+
}
108+
]
109+
}
110+
]
111+
},
112+
{
113+
"kind": "actions",
114+
"name": "sf-package-create",
115+
"consumers": [
116+
{
117+
"repo": "shared-github-actions",
118+
"references": [
119+
{
120+
"file": ".github/workflows/reusable-sf-package-release.yml",
121+
"ref": "v2"
122+
}
123+
]
124+
}
125+
]
126+
},
127+
{
128+
"kind": "actions",
129+
"name": "sf-package-install",
130+
"consumers": [
131+
{
132+
"repo": "shared-github-actions",
133+
"references": [
134+
{
135+
"file": ".github/workflows/reusable-sf-ops-dispatch.yml",
136+
"ref": "v2"
137+
}
138+
]
139+
}
140+
]
141+
},
142+
{
143+
"kind": "actions",
144+
"name": "sf-package-promote",
145+
"consumers": [
146+
{
147+
"repo": "shared-github-actions",
148+
"references": [
149+
{
150+
"file": ".github/workflows/reusable-sf-ops-dispatch.yml",
151+
"ref": "v2"
152+
}
153+
]
154+
}
155+
]
156+
},
157+
{
158+
"kind": "actions",
159+
"name": "sf-source-delta",
160+
"consumers": [
161+
{
162+
"repo": "shared-github-actions",
163+
"references": [
164+
{
165+
"file": ".github/workflows/reusable-sf-release.yml",
166+
"ref": "v2"
167+
}
168+
]
169+
}
170+
]
171+
},
172+
{
173+
"kind": "workflows",
174+
"name": "reusable-sf-package-release.yml",
175+
"consumers": [
176+
{
177+
"repo": "shared-github-actions",
178+
"references": [
179+
{
180+
"file": ".github/workflows/reusable-sf-ops-dispatch.yml",
181+
"ref": "v2"
80182
}
81183
]
82184
}

docs/usage-catalog.md

Lines changed: 50 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<!-- GENERATED by .github/scripts/build-usage-catalog.sh — do not edit by hand. -->
44

55
Every reference to this repo's actions and reusable workflows found across
6-
the `Gforce-Innovation-Kft` org, newest scan `2026-08-06T15:09:52Z`.
6+
the `Gforce-Innovation-Kft` org, newest scan `2026-08-06T17:06:27Z`.
77

88
**Read this before changing an action or workflow.** Removing or renaming an
99
input, an output, or a file listed here breaks the consumers named beside it.
@@ -18,37 +18,72 @@ Know what this does *not* tell you before trusting it as an all-clear:
1818
- **This org only** (`Gforce-Innovation-Kft`). Forks and personal repos are not scanned.
1919
- **Static `uses:` refs only.** A reference built at runtime, or one living in
2020
a script rather than a `uses:`, is not detected.
21-
- **The pinned ref matters.** A consumer on `@v1` does not see changes on
22-
`develop`; one on `@develop` is affected the moment you push. Check the
23-
ref column before assuming a change is safe or that it has landed.
21+
- **The pinned ref matters.** A consumer on `@v1` or `@v2` does not see a merge
22+
to `main`; one on `@main` is affected the moment you merge. Check the ref
23+
column before assuming a change is safe or that it has landed.
24+
- **`@v1` predates the ADR 0002 rename.** Names in the `@v1` column are the old
25+
ones; those consumers are insulated until they re-pin to `@v2`.
2426

25-
_8 reference(s) to 7 asset(s)._
27+
_17 reference(s) to 13 asset(s)._
2628

27-
## `get-aws-secret` (actions)
29+
## `aws-secret-get` (actions)
2830
| Consumer repo | File | Pinned ref |
2931
|---|---|---|
30-
| `shared-github-actions` | `.github/actions/sf-jwt-login/action.yml` | `main` |
32+
| `shared-github-actions` | `.github/actions/sf-org-login/action.yml` | `v2` |
3133

32-
## `sf-delta-package` (actions)
34+
## `sf-apex-test-select` (actions)
3335
| Consumer repo | File | Pinned ref |
3436
|---|---|---|
35-
| `shared-github-actions` | `.github/workflows/sf-release.yml` | `v1` |
37+
| `shared-github-actions` | `.github/workflows/reusable-sf-release.yml` | `v2` |
3638

37-
## `sf-find-tests` (actions)
39+
## `sf-jwt-login` (actions)
3840
| Consumer repo | File | Pinned ref |
3941
|---|---|---|
40-
| `shared-github-actions` | `.github/workflows/sf-release.yml` | `v1` |
42+
| `sf-develop-demo` | `.github/workflows/test-aws-secrets.yml` | `main` |
4143

42-
## `sf-jwt-login` (actions)
44+
## `sf-ops-callback` (actions)
4345
| Consumer repo | File | Pinned ref |
4446
|---|---|---|
45-
| `sf-develop-demo` | `.github/workflows/test-aws-secrets.yml` | `main` |
47+
| `shared-github-actions` | `.github/workflows/reusable-sf-ops-dispatch.yml` | `v2` |
4648

4749
## `sf-org-login` (actions)
4850
| Consumer repo | File | Pinned ref |
4951
|---|---|---|
50-
| `shared-github-actions` | `.github/workflows/sf-pr-validate.yml` | `v1` |
51-
| `shared-github-actions` | `.github/workflows/sf-release.yml` | `v1` |
52+
| `shared-github-actions` | `.github/workflows/reusable-sf-ops-dispatch.yml` | `v2` |
53+
| `shared-github-actions` | `.github/workflows/reusable-sf-package-release.yml` | `v2` |
54+
| `shared-github-actions` | `.github/workflows/reusable-sf-pr-validate.yml` | `v2` |
55+
| `shared-github-actions` | `.github/workflows/reusable-sf-release.yml` | `v2` |
56+
57+
## `sf-org-scratch-create` (actions)
58+
| Consumer repo | File | Pinned ref |
59+
|---|---|---|
60+
| `shared-github-actions` | `.github/workflows/reusable-sf-package-release.yml` | `v2` |
61+
| `shared-github-actions` | `.github/workflows/reusable-sf-pr-validate.yml` | `v2` |
62+
63+
## `sf-package-create` (actions)
64+
| Consumer repo | File | Pinned ref |
65+
|---|---|---|
66+
| `shared-github-actions` | `.github/workflows/reusable-sf-package-release.yml` | `v2` |
67+
68+
## `sf-package-install` (actions)
69+
| Consumer repo | File | Pinned ref |
70+
|---|---|---|
71+
| `shared-github-actions` | `.github/workflows/reusable-sf-ops-dispatch.yml` | `v2` |
72+
73+
## `sf-package-promote` (actions)
74+
| Consumer repo | File | Pinned ref |
75+
|---|---|---|
76+
| `shared-github-actions` | `.github/workflows/reusable-sf-ops-dispatch.yml` | `v2` |
77+
78+
## `sf-source-delta` (actions)
79+
| Consumer repo | File | Pinned ref |
80+
|---|---|---|
81+
| `shared-github-actions` | `.github/workflows/reusable-sf-release.yml` | `v2` |
82+
83+
## `reusable-sf-package-release.yml` (workflows)
84+
| Consumer repo | File | Pinned ref |
85+
|---|---|---|
86+
| `shared-github-actions` | `.github/workflows/reusable-sf-ops-dispatch.yml` | `v2` |
5287

5388
## `sf-pr-validate.yml` (workflows)
5489
| Consumer repo | File | Pinned ref |

0 commit comments

Comments
 (0)