Skip to content

Commit 160085a

Browse files
pcihonmattpollard
andauthored
Update site-policy-sync.yml (#17256)
Added filter to reduce trigger events. Edited destination branch and commit message. Co-authored-by: Matt Pollard <mattpollard@users.noreply.github.com>
1 parent c9f9091 commit 160085a

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/site-policy-sync.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ on:
88
- main
99
types:
1010
- closed
11+
paths:
12+
- 'content/github/site-policy/**'
1113

1214
# Allows you to run this workflow manually from the Actions tab
1315
workflow_dispatch:
@@ -33,8 +35,8 @@ jobs:
3335
with:
3436
source_folder: 'content/github/site-policy'
3537
destination_repo: 'github/site-policy'
36-
destination_branch: 'non-substantive-changes'
38+
destination_branch: 'repo-sync'
3739
destination_folder: 'Policies'
3840
user_email: 'pcihon@users.noreply.github.com'
3941
user_name: 'pcihon'
40-
commit_msg: 'Mirroring non-substantive changes.'
42+
commit_msg: 'Automatic sync from GitHub Docs.'

0 commit comments

Comments
 (0)