From 4fb826336ae70c3d22d54cea14b2bdb61d190b45 Mon Sep 17 00:00:00 2001 From: Simon Hirtreiter Date: Fri, 5 Jul 2024 14:07:14 +0200 Subject: [PATCH 1/2] ci use github dependency review --- .github/workflows/build.yaml | 19 ------------------- .github/workflows/dependency_review.yaml | 17 +++++++++++++++++ 2 files changed, 17 insertions(+), 19 deletions(-) delete mode 100644 .github/workflows/build.yaml create mode 100644 .github/workflows/dependency_review.yaml diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml deleted file mode 100644 index 53f0e5b..0000000 --- a/.github/workflows/build.yaml +++ /dev/null @@ -1,19 +0,0 @@ -name: build and test - -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 0000000..56feaa1 --- /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 From bef50e2187dff4ce9caa6154fd154579a55642ff Mon Sep 17 00:00:00 2001 From: Simon Hirtreiter Date: Mon, 8 Jul 2024 08:13:28 +0200 Subject: [PATCH 2/2] ci github dependency review run for all prs --- .github/workflows/dependency_review.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/dependency_review.yaml b/.github/workflows/dependency_review.yaml index 56feaa1..273bef7 100644 --- a/.github/workflows/dependency_review.yaml +++ b/.github/workflows/dependency_review.yaml @@ -2,8 +2,6 @@ name: dependency-review on: pull_request: - branches: - - main jobs: dependency-review: