Implemented Delete Reviews Feature #888
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: CI Policies | |
on: pull_request | |
jobs: | |
enforce-release-workflow: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- name: Print base ref and head ref | |
run: | | |
echo "Your head ref is ${{ github.head_ref }}." | |
echo "Your base ref is ${{ github.base_ref }}." | |
- name: Fail if try to push release from non-master branch | |
if: github.base_ref != 'release' && github.head_ref == 'main' | |
run: | | |
echo "Head ref must be master for release. Everything should go through staging first!" | |
exit 1 | |
warn-big-diff: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- uses: cornell-dti/big-diff-warning@master | |
env: | |
BOT_TOKEN: '${{ secrets.BOT_TOKEN }}' |