Skip to content

chore(release): refactor create-rc and handle existing remote release… #30

chore(release): refactor create-rc and handle existing remote release…

chore(release): refactor create-rc and handle existing remote release… #30

name: Cut Release Branch
on:
issues:
types: [edited]
permissions:
contents: write
issues: write
jobs:
cut_branch:
# Run only if the issue has the type: release label
if: contains(github.event.issue.labels.*.name, 'type: release')

Check failure on line 14 in .github/workflows/cut_release_branch.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/cut_release_branch.yml

Invalid workflow file

You have an error in your yaml syntax on line 14
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v7
with:
fetch-depth: 0
- name: Setup Bazel
uses: bazel-contrib/setup-bazel@0.19.0
with:
bazelisk-version: 1.20.0
- name: Configure Git Identity
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
- name: Attempt Branch Creation
run: |
bazel run //tools/private/release -- \
create-release-branch --issue ${{ github.event.issue.number }} --remote origin
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}