Skip to content

[main -> 2.2] ci: Bump marocchino/sticky-pull-request-comment action to latest version (2.9.0) #5

[main -> 2.2] ci: Bump marocchino/sticky-pull-request-comment action to latest version (2.9.0)

[main -> 2.2] ci: Bump marocchino/sticky-pull-request-comment action to latest version (2.9.0) #5

name: Release branch warning
on:
pull_request:
types:
- opened
# 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/**
permissions:
pull-requests: write
jobs:
warning:
runs-on: ubuntu-latest
steps:
- 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/sticky-pull-request-comment@v2.9.0
with:
path: ${{ github.workspace }}/.github/workflows/data/release-branch-warning.md
only_create: true
ignore_empty: true