name: Develop Freeze PR Comment
on:
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.'