mirror of
https://github.com/discourse/discourse.git
synced 2026-08-06 13:08:40 +08:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 6 to 7. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v6...v7) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
42 lines
968 B
YAML
Vendored
42 lines
968 B
YAML
Vendored
name: Release Branch Handler
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
branch:
|
|
description: "The release branch, e.g. `release/2025.01`"
|
|
required: true
|
|
type: string
|
|
push:
|
|
branches:
|
|
- release/*
|
|
|
|
permissions:
|
|
contents: write
|
|
pull-requests: write
|
|
|
|
jobs:
|
|
build:
|
|
name: run
|
|
runs-on: ubuntu-latest
|
|
if: github.repository == 'discourse/discourse'
|
|
container: discourse/discourse_test:slim
|
|
timeout-minutes: 10
|
|
|
|
env:
|
|
GH_TOKEN: ${{ github.token }}
|
|
|
|
steps:
|
|
- uses: actions/checkout@v7
|
|
with:
|
|
filter: tree:0
|
|
fetch-depth: 0
|
|
token: ${{ secrets.GH_PUSH_TOKEN }}
|
|
|
|
- uses: ./.github/actions/setup-release-environment
|
|
|
|
- name: Maybe tag release
|
|
run: bin/rake release:maybe_tag_release[${{ inputs.branch || github.sha }}]
|
|
|
|
- name: Maybe update release tags
|
|
run: bin/rake release:update_release_tags[${{ inputs.branch || github.sha }}]
|