Skip to content

Commit

Permalink
new policy-as-code version
Browse files Browse the repository at this point in the history
  • Loading branch information
martind260 committed Nov 22, 2024
1 parent 4447f9c commit 23d2786
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/build-backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,20 @@ on:
types: [ opened, reopened ]

jobs:
# compliance:
# runs-on: ubuntu-latest
#
# steps:
# - name: Checkout code
# uses: actions/checkout@v3
#
# - name: Advance Security Policy as Code
# uses: advanced-security/policy-as-code@v2.4.1
# 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"
compliance:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Advance Security Policy as Code
uses: advanced-security/policy-as-code@v2.9.0
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"

build-maven:
# needs: compliance
Expand Down

0 comments on commit 23d2786

Please sign in to comment.