Skip to content

Commit

Permalink
Update Scheduled - Generate Permission List.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
NikCharlebois authored Jul 11, 2024
1 parent 0072fb3 commit 76d979f
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/Scheduled - Generate Permission List.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Generate Permissions List
on: [push, pull_request]
on: [push]

jobs:
# This workflow contains a single job called "build"
Expand All @@ -15,18 +15,13 @@ jobs:
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Get Files
shell: pwsh
run: |
$results = get-childitem -recurse | Out-String
Write-Host $results
- name: Install Dependencies
shell: pwsh
shell: powershell
run: |
Import-Module './Modules/Microsoft365DSC/Modules/M365DSCUtil.psm1' -Force;
Update-M365DSCModule
- name: Get Permissions List
shell: pwsh
shell: powershell
run: |
Import-Module './Tests/TestHarness.psm1' -Force;
$permissions = Get-M365DSCAllGraphPermissionsList
Expand Down

0 comments on commit 76d979f

Please sign in to comment.