From c486b782f4ca1e82bfc6e33695e5f789e72e8154 Mon Sep 17 00:00:00 2001 From: Simon Hirtreiter Date: Fri, 5 Jul 2024 13:58:09 +0200 Subject: [PATCH] ci use github dependency review --- .github/workflows/dependency_compliance.yaml | 19 ------------------- .github/workflows/dependency_review.yaml | 17 +++++++++++++++++ 2 files changed, 17 insertions(+), 19 deletions(-) delete mode 100644 .github/workflows/dependency_compliance.yaml create mode 100644 .github/workflows/dependency_review.yaml diff --git a/.github/workflows/dependency_compliance.yaml b/.github/workflows/dependency_compliance.yaml deleted file mode 100644 index 3b59a046..00000000 --- a/.github/workflows/dependency_compliance.yaml +++ /dev/null @@ -1,19 +0,0 @@ -name: dependency-compliance - -on: [ push ] - -jobs: - compliance: - runs-on: ubuntu-latest - - steps: - - name: Checkout code - uses: actions/checkout@v4 - - - name: Advance Security Policy as Code - uses: advanced-security/policy-as-code@v2.7.2 - with: - policy: it-at-m/policy-as-code - policy-path: default.yaml - token: ${{ secrets.GITHUB_TOKEN }} - argvs: "--disable-dependabot --disable-secret-scanning --disable-code-scanning --display" diff --git a/.github/workflows/dependency_review.yaml b/.github/workflows/dependency_review.yaml new file mode 100644 index 00000000..56feaa13 --- /dev/null +++ b/.github/workflows/dependency_review.yaml @@ -0,0 +1,17 @@ +name: dependency-review + +on: + pull_request: + branches: + - main + +jobs: + dependency-review: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + - name: Dependency Review + uses: actions/dependency-review-action@v4 + with: + config-file: it-at-m/.github/workflow-configs/dependency_review.yaml@main