Skip to content

.github/workflows/release: sign zip before sending pull request #11

.github/workflows/release: sign zip before sending pull request

.github/workflows/release: sign zip before sending pull request #11

Workflow file for this run

name: Release (Bazel)
on:
# Allow manual triggering from GH UI
workflow_dispatch:
inputs:
tag_name:
required: true
type: string
# Automated trigger from the release.yaml workflow
workflow_call:
inputs:
tag_name:
required: true
type: string
secrets:
BCR_PUBLISH_TOKEN:
description: 'Token for pushing to re2-machine/bazel-central-registry'
required: true
jobs:
permissions:
contents: write
id-token: write
attestations: write
sign:
uses: bazel-contrib/.github/.github/workflows/[email protected]
with:
release_files: *.zip

Check failure on line 27 in .github/workflows/release-bazel.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/release-bazel.yml

Invalid workflow file

You have an error in your yaml syntax on line 27
prerelease: false
tag_name: ${{ inputs.tag_name || github.ref_name }}
send-pull-request:
needs: sign
uses: bazel-contrib/publish-to-bcr/.github/workflows/[email protected]
with:
tag_name: ${{ inputs.tag_name }}
# This workflow seems to require keeping a fork of the upstream to open
# PRs from.
registry_fork: re2-machine/bazel-central-registry
attest: true
secrets:
# Necessary to push to the BCR fork, and to open a pull request against a registry
publish_token: ${{ secrets.BCR_PUBLISH_TOKEN }}