Skip to content

Commit 20e79d7

Browse files
--wip-- [skip ci]
1 parent 51de16d commit 20e79d7

File tree

1 file changed

+4
-13
lines changed

1 file changed

+4
-13
lines changed

.github/workflows/publish-to-bcr.yml

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,26 +9,17 @@ on:
99
description: 'Release tag to publish (e.g., v1.4.0)'
1010
required: true
1111
type: string
12-
test_mode:
13-
description: 'Test mode: open PR to your fork instead of upstream BCR'
14-
required: false
15-
type: boolean
16-
default: false
17-
# TODO: DONT MERGE THIS
18-
pull_request:
1912

2013
jobs:
2114
publish-to-bcr:
2215
uses: bazel-contrib/publish-to-bcr/.github/workflows/[email protected]
2316
with:
2417
tag_name: ${{ github.event.release.tag_name || inputs.tag_name }}
2518
registry_fork: CodSpeedHQ/bazel-central-registry
26-
# TODO: Change this back to bazel-central-registry when ready
19+
# TODO: Change this back to bazel-central-registry when initial submission has been approved
2720
registry: CodSpeedHQ/bazel-central-registry
28-
attest: true
29-
permissions:
30-
contents: write
31-
id-token: write
32-
attestations: write
21+
# If we need this, because it requries tweaking permissions on the BCR_PUBLISH_TOKEN secret
22+
# Currently it only has access to the bazel-central-registry repo
23+
attest: false
3324
secrets:
3425
publish_token: ${{ secrets.BCR_PUBLISH_TOKEN }}

0 commit comments

Comments
 (0)