From 0d0d669a6f40d9250d2eb2ded5415ed7bb78f9c6 Mon Sep 17 00:00:00 2001 From: schcamille <97245253+schcamille@users.noreply.github.com> Date: Thu, 10 Jul 2025 13:49:33 +0200 Subject: [PATCH] Create vulnerable.yml --- .github/workflows/vulnerable.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/vulnerable.yml diff --git a/.github/workflows/vulnerable.yml b/.github/workflows/vulnerable.yml new file mode 100644 index 0000000..524a824 --- /dev/null +++ b/.github/workflows/vulnerable.yml @@ -0,0 +1,14 @@ +on: + pull_request_target: + types: [Created] +jobs: + test: + environment: NeedsApproval + runs-on: ubuntu-latest + steps: + - name: Checkout from PR branch + uses: actions/checkout@v4 + with: + repository: ${{ github.event.pull_request.head.repo.full_name }} + ref: ${{ github.event.pull_request.head.ref }} + - run: ./cmd