[v2.2] Port #22508 and prereqs (ContainerRuntime: Process incoming batches op-by-op instead of waiting for the whole batch) #50
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: Release branch warning | |
on: | |
pull_request_target: | |
types: | |
- opened | |
- synchronize | |
# This is triggered when the base branch changes; handles the case where you open a PR against main then change the | |
# base branch to a release branch. | |
- edited | |
branches: | |
- release/client/** | |
- release/server/** | |
- test/release/** | |
permissions: | |
# Needed to write the comments to the PRs themselves | |
pull-requests: write | |
jobs: | |
warning: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # ratchet:actions/checkout@v4 | |
with: | |
persist-credentials: false | |
submodules: false | |
- name: Post warning in comment | |
# release notes: https://github.com/marocchino/sticky-pull-request-comment/releases/tag/v2.9.0 | |
uses: marocchino/sticky-pull-request-comment@331f8f5b4215f0445d3c07b4967662a32a2d3e31 # ratchet:marocchino/[email protected] | |
with: | |
header: release-warning | |
path: ${{ github.workspace }}/.github/workflows/data/release-branch-warning.md | |
only_create: true |