docs: set up linkinator for doc site #1030
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Cherry pick | |
on: | |
pull_request: | |
branches: | |
- main | |
types: ["closed"] | |
permissions: | |
contents: read | |
jobs: | |
cherry_pick_release_v1_0: | |
runs-on: ubuntu-22.04 | |
name: Cherry pick into release-v1.0 | |
if: ${{ contains(github.event.pull_request.labels.*.name, 'cherrypick/release-v1.0') && github.event.pull_request.merged == true }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2 | |
with: | |
fetch-depth: 0 | |
- name: Cherry pick into release/v1.0 | |
uses: carloscastrojumo/github-cherry-pick-action@a145da1b8142e752d3cbc11aaaa46a535690f0c5 # v1.0.9 | |
with: | |
branch: release/v1.0 | |
title: "[release/v1.0] {old_title}" | |
body: "Cherry picking #{old_pull_request_id} onto release/v1.0" | |
labels: | | |
cherrypick/release-v1.0 | |
# put release manager here | |
reviewers: | | |
Xunzhuo |