Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
groups:
github-actions:
patterns: ["*"]
schedule:
interval: "weekly"
cooldown:
default-days: 7
10 changes: 5 additions & 5 deletions .github/workflows/AzGovViz.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ jobs:
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@0717577d45739eb3c851188b29f50ed6c0b2194e # v2.8.0

- name: Connect Azure
uses: azure/login@v1
uses: azure/login@cb79c773a3cfa27f31f25eb3f677781210c9ce3d # v1.6.1
with:
creds: ${{secrets.CREDS}}
enable-AzPSSession: true
Expand All @@ -48,14 +48,14 @@ jobs:
# }

- name: Check prerequisites
uses: azure/powershell@v1
uses: azure/powershell@1300bbd2b3e1c21c029fe34887d16d2809a1397f # v1.4.0
with:
inlineScript: |
. .\$($env:ScriptDir)\$($env:ScriptPrereqFile) -OutputPath ${env:OutputPath}
azPSVersion: "latest"

- name: Run Azure Governance Visualizer
uses: azure/powershell@v1
uses: azure/powershell@1300bbd2b3e1c21c029fe34887d16d2809a1397f # v1.4.0
with:
inlineScript: |
. .\$($env:ScriptDir)\$($env:ScriptFile) -ManagementGroupId ${env:ManagementGroupId} -ScriptPath ${env:ScriptDir} -OutputPath ${env:OutputPath}
Expand All @@ -72,7 +72,7 @@ jobs:

- name: Publish HTML to WebApp
if: env.WebAppPublish == 'true'
uses: azure/powershell@v1
uses: azure/powershell@1300bbd2b3e1c21c029fe34887d16d2809a1397f # v1.4.0
with:
inlineScript: |
$azAPICallConf = initAzAPICall -DebugAzAPICall $true
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/AzGovViz_OIDC.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,25 +36,25 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@0717577d45739eb3c851188b29f50ed6c0b2194e # v2.8.0

- name: Connect Azure OIDC
uses: azure/login@v1
uses: azure/login@cb79c773a3cfa27f31f25eb3f677781210c9ce3d # v1.6.1
with:
client-id: ${{secrets.CLIENT_ID}} #create this secret
tenant-id: ${{secrets.TENANT_ID}} #create this secret
subscription-id: ${{secrets.SUBSCRIPTION_ID}} #create this secret
enable-AzPSSession: true

- name: Check prerequisites
uses: azure/powershell@v1
uses: azure/powershell@1300bbd2b3e1c21c029fe34887d16d2809a1397f # v1.4.0
with:
inlineScript: |
. .\$($env:ScriptDir)\$($env:ScriptPrereqFile) -OutputPath ${env:OutputPath}
azPSVersion: "latest"

- name: Run Azure Governance Visualizer
uses: azure/powershell@v1
uses: azure/powershell@1300bbd2b3e1c21c029fe34887d16d2809a1397f # v1.4.0
with:
inlineScript: |
. .\$($env:ScriptDir)\$($env:ScriptFile) -ManagementGroupId ${env:ManagementGroupId} -SubscriptionId4AzContext ${{secrets.SUBSCRIPTION_ID}} -ScriptPath ${env:ScriptDir} -OutputPath ${env:OutputPath} -GitHubActionsOIDC
Expand All @@ -72,7 +72,7 @@ jobs:
#log again to avoid timeout before web publishing
- name: Connect Azure OIDC
if: env.WebAppPublish == 'true'
uses: azure/login@v1
uses: azure/login@cb79c773a3cfa27f31f25eb3f677781210c9ce3d # v1.6.1
with:
client-id: ${{secrets.CLIENT_ID}} #create this secret (GitHub/Setting/Secrets)
tenant-id: ${{secrets.TENANT_ID}} #create this secret
Expand All @@ -81,7 +81,7 @@ jobs:

- name: Publish HTML to WebApp
if: env.WebAppPublish == 'true'
uses: azure/powershell@v1
uses: azure/powershell@1300bbd2b3e1c21c029fe34887d16d2809a1397f # v1.4.0
with:
inlineScript: |
$azAPICallConf = initAzAPICall -DebugAzAPICall $true
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/upstream-release-checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ jobs:
contents: write
pull-requests: write
steps:
- uses: tibdex/github-app-token@v1
- uses: tibdex/github-app-token@32691ba7c9e7063bd457bd8f2a5703138591fa58 # v1.9.0
id: generate-token
with:
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.APP_PRIVATE_KEY }}

- name: Local repository checkout
uses: actions/checkout@v3
uses: actions/checkout@a37ce9120846195fa4ece8f58b268e6043cb2f26 # v3.7.0
with:
path: ${{ github.repository }}
fetch-depth: 0
Expand Down Expand Up @@ -68,7 +68,7 @@ jobs:
working-directory: ${{ github.repository }}

- name: Find and Replace Upstream Repo With This Repo
uses: jacobtomlinson/gha-find-replace@v3
uses: jacobtomlinson/gha-find-replace@2ff30f644d2e0078fc028beb9193f5ff0dcad39e # v3
with:
find: "JulianHayward/Azure-MG-Sub-Governance-Reporting"
replace: "Azure/Azure-Governance-Visualizer"
Expand Down