Skip to content

Commit 07acbd3

Browse files
committed
Testing
1 parent 7e40986 commit 07acbd3

2 files changed

Lines changed: 10 additions & 12 deletions

File tree

.github/workflows/azure-analyze.yaml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,8 @@ jobs:
3939
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
4040

4141
# Install a specific version of Bicep for consistency across CI runs.
42-
- name: Install Bicep
43-
run: az bicep install --version v0.39.26
44-
42+
# - name: Install Bicep
43+
# run: az bicep install --version v0.39.26
4544
# Run analysis by using the PSRule GitHub action.
4645
- name: Run PSRule analysis
4746
uses: microsoft/ps-rule@46451b8f5258c41beb5ae69ed7190ccbba84112c # v2.9.0
@@ -50,9 +49,9 @@ jobs:
5049
outputFormat: Sarif
5150
outputPath: reports/ps-rule-results.sarif
5251
summary: true
53-
env:
54-
# Use Bicep from Azure CLI.
55-
PSRULE_AZURE_BICEP_USE_AZURE_CLI: true
52+
# env:
53+
# # Use Bicep from Azure CLI.
54+
# PSRULE_AZURE_BICEP_USE_AZURE_CLI: true
5655

5756
# If you have GitHub Advanced Security you can upload PSRule scan results.
5857
# Uncomment the next step to use this feature.

.github/workflows/ci.yaml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,19 +46,18 @@ jobs:
4646
modules: PSRule.Rules.MSFT.OSS
4747

4848
# Install a specific version of Bicep for consistency across CI runs.
49-
- name: Install Bicep
50-
run: az bicep install --version v0.39.26
51-
49+
# - name: Install Bicep
50+
# run: az bicep install --version v0.39.26
5251
- name: Check Azure samples
5352
uses: microsoft/ps-rule@46451b8f5258c41beb5ae69ed7190ccbba84112c # v2.9.0
5453
with:
5554
modules: PSRule.Rules.Azure
5655
outputFormat: Sarif
5756
outputPath: reports/ps-rule-results.sarif
5857
summary: true
59-
env:
60-
# Use Bicep from Azure CLI.
61-
PSRULE_AZURE_BICEP_USE_AZURE_CLI: true
58+
# env:
59+
# # Use Bicep from Azure CLI.
60+
# PSRULE_AZURE_BICEP_USE_AZURE_CLI: true
6261

6362
- name: Upload results to security tab
6463
uses: github/codeql-action/upload-sarif@cdefb33c0f6224e58673d9004f47f7cb3e328b89 # v3.29.5

0 commit comments

Comments
 (0)