From 645590b3478fd1cfea2db9b18f4599a747b844d4 Mon Sep 17 00:00:00 2001 From: Peter Murray <681306+peter-murray@users.noreply.github.com> Date: Thu, 19 Oct 2023 14:20:06 +0000 Subject: [PATCH] Adding failure workflow for testing --- .../workflows/test_lack_of_permissions.yml | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/test_lack_of_permissions.yml diff --git a/.github/workflows/test_lack_of_permissions.yml b/.github/workflows/test_lack_of_permissions.yml new file mode 100644 index 0000000..c226414 --- /dev/null +++ b/.github/workflows/test_lack_of_permissions.yml @@ -0,0 +1,26 @@ +name: Test failure scenarios + +on: + workflow_dispatch: + inputs: + directory: + type: string + default: test-data/maven/simple + required: true + +permissions: read-all + +jobs: + test: + name: Test Failure + + runs-on: ubuntu-22.04 + + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Run local Action + uses: ./ + with: + directory: ${{ inputs.directory }} \ No newline at end of file