From 457798ac77db13d9261fb7250b5cd4a2d9b23421 Mon Sep 17 00:00:00 2001 From: Kirk Spragg Date: Mon, 25 Mar 2024 11:49:23 +1300 Subject: [PATCH] Delete .github/workflows/trivy.yml --- .github/workflows/trivy.yml | 36 ------------------------------------ 1 file changed, 36 deletions(-) delete mode 100644 .github/workflows/trivy.yml diff --git a/.github/workflows/trivy.yml b/.github/workflows/trivy.yml deleted file mode 100644 index daac7c0c..00000000 --- a/.github/workflows/trivy.yml +++ /dev/null @@ -1,36 +0,0 @@ -name: Trivy Scan -on: - pull_request: - push: - branches: - - main - -jobs: - test: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Set target branch - run: echo "TARGET_BRANCH=${{ github.ref }}" >> $GITHUB_ENV - - name: Set target branch for PR event - if: ${{ github.event_name == 'pull_request' }} - run: echo "TARGET_BRANCH=${{ github.event.pull_request.head.ref }}" >> $GITHUB_ENV - - name: Dispatch and return Run ID - id: return_dispatch - uses: ./ - with: - token: ${{ secrets.TOKEN }} - ref: ${{ env.TARGET_BRANCH }} - repo: return-dispatch - owner: codex- - workflow: dispatch.yml - workflow_inputs: '{"cake":"delicious"}' - workflow_timeout_seconds: 30 - - name: Evaluate that the Run ID output has been set - run: | - if [ "${{ steps.return_dispatch.outputs.run_id }}" == "" ]; then - echo "Failed to return Run ID" - exit 1 - fi - - name: Output fetched Run ID - run: echo ${{ steps.return_dispatch.outputs.run_id }}