Skip to content

Commit cfda2b9

Browse files
committed
Update workflow triggers and format in policy-initiatives.yml; modify defaultValue in polset-diag-settings.json
1 parent 189799c commit cfda2b9

3 files changed

Lines changed: 9 additions & 6 deletions

File tree

.github/workflows/policy-initiatives.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ on:
99
type: boolean
1010
default: false
1111
workflow_run:
12-
workflows: [ "policy-definitions" ] # name of the triggering workflow
13-
types: [ completed ]
14-
branches: [ main ]
12+
workflows: ["policy-definitions"] # name of the triggering workflow
13+
types: [completed]
14+
branches: [main]
1515

1616
permissions:
1717
contents: read
@@ -29,7 +29,8 @@ jobs:
2929
job_call_initiation:
3030
name: Initiation
3131
runs-on: ubuntu-latest
32-
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name
32+
if:
33+
${{ github.event.workflow_run.conclusion == 'success' || github.event_name
3334
== 'workflow_dispatch' }}
3435
steps:
3536
- name: "Checkout"

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,4 +418,6 @@ FodyWeavers.xsd
418418
*.msp
419419

420420
#Mac
421-
.DS_Store
421+
.DS_Store
422+
.github/workflows/package.json
423+
.github/workflows/package-lock.json

policyInitiatives/polset-diag-settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"displayName": "Profile name",
1717
"description": "The diagnostic settings profile name."
1818
},
19-
"defaultValue": "setByPolicyLAW"
19+
"defaultValue": "setByPolicy"
2020
},
2121
"evaluationDelay": {
2222
"type": "string",

0 commit comments

Comments
 (0)