feat(plugin/redirect): plugin to redirect requests to a new location #29734
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: Pull Request Label Checker | |
on: | |
pull_request: | |
types: [opened, edited, synchronize, labeled, unlabeled] | |
jobs: | |
check-labels: | |
name: prevent merge labels | |
runs-on: ubuntu-latest | |
steps: | |
- name: backport master label found | |
run: echo "Please do not backport into master, instead, create a PR targeting master and backport from it instead."; exit 1 | |
if: ${{ contains(github.event.*.labels.*.name, 'backport master') }} |