Skip to content

mirrors: Set permissions in mirror repo workflows (#46230) #154

mirrors: Set permissions in mirror repo workflows (#46230)

mirrors: Set permissions in mirror repo workflows (#46230) #154

Workflow file for this run

name: Auto-release
on:
push:
tags:
- 'v?[0-9]+.[0-9]+'
- 'v?[0-9]+.[0-9]+-*'
- 'v?[0-9]+.[0-9]+.[0-9]+'
- 'v?[0-9]+.[0-9]+.[0-9]+-*'
- 'v?[0-9]+.[0-9]+.[0-9]+.[0-9]+'
- 'v?[0-9]+.[0-9]+.[0-9]+.[0-9]+-*'
branches:
- 'trunk'
workflow_dispatch:
permissions:
# read: actions/checkout
# write: `gh release`
contents: write
jobs:
publish:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Create release
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: ./.github/files/autorelease.sh