diff --git a/.github/workflows/safety-net.yml b/.github/workflows/safety-net.yml new file mode 100644 index 0000000000..c2791d52e9 --- /dev/null +++ b/.github/workflows/safety-net.yml @@ -0,0 +1,24 @@ +name: Safety Net +# This is just to make sure no one slips in a modified workflow or tools. + +on: + pull_request: + paths: + - '.github/workflows/**' + - 'tools/**' + branches: + - main + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + # This workflow contains a single job called "build" + build: + # The type of runner that the job will run on + runs-on: ubuntu-latest + + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + # Runs a set of commands using the runners shell + - name: Safety Check + run: | + exit 255