mirror of
https://github.com/google/blockly.git
synced 2026-01-08 09:30:06 +01:00
Create develop_freeze.yml (#5012)
* Create develop_freeze.yml * Remove test message
This commit is contained in:
26
.github/workflows/develop_freeze.yml
vendored
Normal file
26
.github/workflows/develop_freeze.yml
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
# This workflow will comment on pull requests that are submitted while develop
|
||||
# is frozen during the week of release. Skips any pull requests that have the
|
||||
# label 'ignore-freeze'.
|
||||
# This workflow should be enabled only while develop is frozen.
|
||||
|
||||
name: Develop Freeze PR Comment
|
||||
|
||||
on:
|
||||
# Trigger the workflow on pull request on develop branch
|
||||
pull_request:
|
||||
types:
|
||||
- opened
|
||||
- reopened
|
||||
branches:
|
||||
- develop
|
||||
|
||||
jobs:
|
||||
freeze-comment:
|
||||
if: ${{ !contains(github.event.pull_request.labels.*.name, 'ignore-freeze') }}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: PR Comment
|
||||
uses: github-actions-up-and-running/pr-comment@f1f8ab2bf00dce6880a369ce08758a60c61d6c0b
|
||||
with:
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
message: "Thanks for the PR! The develop branch is currently frozen in preparation for the release so it may not be addressed until after release week."
|
||||
Reference in New Issue
Block a user