Skip to content

Commit ad9b4b9

Browse files
chore(devcontainer): temporarily disable auto-publish workflow trigger
microsoft org GHCR policy blocks first-time package creation under ghcr.io/microsoft/apm/* for both GITHUB_TOKEN and member PATs (read allowed, write returns no WWW-Authenticate). Working on org bootstrap via the microsoft/opensource process; until that completes the publish job will fail and add red noise to every push to main. Comment out the push trigger but keep workflow_dispatch so we can validate the bootstrap with a single manual run the moment policy is granted, without another commit. Tag-fanout (1, 1.0, 1.0.0, latest) and the rest of the workflow body are unchanged. Follow-up to #861. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 68620c6 commit ad9b4b9

1 file changed

Lines changed: 19 additions & 5 deletions

File tree

.github/workflows/devcontainer-feature-publish.yml

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,26 @@ name: Devcontainer Feature - Publish
2222
# run): GHCR -> packages -> apm-cli -> Package settings -> change visibility
2323
# to Public, then "Manage Actions access" -> add microsoft/apm with Write.
2424

25+
# --------------------------------------------------------------------------
26+
# TEMPORARILY DISABLED auto-publish on push.
27+
#
28+
# microsoft org GHCR policy blocks first-time package creation under
29+
# `ghcr.io/microsoft/apm/*` for both GITHUB_TOKEN and member PATs (read
30+
# allowed, write returns no WWW-Authenticate). Working on org bootstrap
31+
# via the microsoft/opensource process.
32+
#
33+
# Status: tracked alongside #861 follow-up. Re-enable the `push:` trigger
34+
# once `ghcr.io/microsoft/apm/apm-cli` is provisioned and linked to this
35+
# repo. Until then, the only way to publish is `workflow_dispatch`, which
36+
# also currently fails the same way -- left in place so we can validate
37+
# the bootstrap with a manual run the moment policy is granted.
38+
# --------------------------------------------------------------------------
2539
on:
26-
push:
27-
branches: [ main ]
28-
paths:
29-
- 'devcontainer/src/**'
30-
- '.github/workflows/devcontainer-feature-publish.yml'
40+
# push:
41+
# branches: [ main ]
42+
# paths:
43+
# - 'devcontainer/src/**'
44+
# - '.github/workflows/devcontainer-feature-publish.yml'
3145
workflow_dispatch:
3246

3347
permissions:

0 commit comments

Comments
 (0)