File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change 11name : site-policy-sync
22
3- # **What it does**: Updates our site policy docs when changes happen to site policy.
4- # **Why we have it**: We want up to date site policy docs .
5- # **Who does it impact**: Site policy team.
3+ # **What it does**: Updates our site- policy repo when changes happen to site policy docs .
4+ # **Why we have it**: We want keep site-policy repo up to date .
5+ # **Who does it impact**: Site- policy team.
66
77# Controls when the action will run.
88on :
3030 steps :
3131 # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
3232 - uses : actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
33+ # Sets commit message
34+ - name : custom message
35+ run : |
36+ echo "MESSAGE=${{github.event.pull_request.title}}" >> $GITHUB_ENV
3337
3438 # Pushes to other repo
3539 - name : Push folder to another repository
4246 destination_branch : ' main'
4347 destination_branch_create : ' repo-sync'
4448 destination_folder : ' Policies'
45- user_email : ' pcihon @users.noreply.github.com'
46- user_name : ' pcihon '
47- commit_msg : ' Automatic sync from GitHub Docs. '
49+ user_email : ' site-policy-bot @users.noreply.github.com'
50+ user_name : ' site-policy-bot '
51+ commit_msg : ' ${{ env.MESSAGE }} '
You can’t perform that action at this time.
0 commit comments