Skip to content

Commit

Permalink
Update compliance-template.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
johannaahlskog authored Sep 28, 2023
1 parent e9e6de0 commit 7ed2234
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions .github/workflows/compliance-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ permissions:
id-token: write

env:
configFile: cydigConfig.json #compliance is the repository name where your compliance-template and cydigConfig.json is located.
configFile: cydigConfig.json
disableWarningUsersInProd: true

urlUpdate: ${{ secrets.URLUPDATECOMPLIANCESTATE }}
Expand Down Expand Up @@ -54,16 +54,6 @@ jobs:

- name: Install Node.js
uses: actions/setup-node@v3

# Debug, this will be removed
- name: Debug ls
run: |
ls
# Debug, this will be removed
- name: Debug pwd
run: |
pwd

- name: Set Input Variables
run: |
Expand All @@ -86,7 +76,7 @@ jobs:
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}

- name: 'Run Azure Compliance Controls'
uses: Omegapoint/cydig-azure-compliance-action@v1 # Specify the repository and optionally a branch, tag, or commit SHA
uses: Omegapoint/cydig-azure-compliance-action@v1
with:
subscription: ${{ secrets.AZURE_SUBSCRIPTION_ID }}

Expand All @@ -97,6 +87,7 @@ jobs:
cydigConfigPath: compliance-template/${{ env.configFile }}

- name: 'Run Upload Compliance State'
id: upload
uses: Omegapoint/upload-compliance-state-action@v1
with:
subscriptionId: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
Expand Down

0 comments on commit 7ed2234

Please sign in to comment.