From baf72d7df4a4d55636ab1c7589337b8e09e7fa46 Mon Sep 17 00:00:00 2001 From: Jacob Date: Wed, 13 Nov 2024 19:00:38 +0800 Subject: [PATCH] Create safety-net.yml --- .github/workflows/safety-net.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/safety-net.yml 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