@@ -88,10 +88,54 @@ jobs:
88
88
id : cprtpn
89
89
if : env.CREATE_PR == 'true'
90
90
with :
91
- commit-message : " Update to the latest notice file"
91
+ commit-message : " Update to the latest NOTICES file"
92
92
committer :
GitHub <[email protected] >
93
93
author : ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
94
- title : " Update to the latest notice file"
94
+ title : " Update to the latest NOTICES file"
95
+ reviewers : travisez13
96
+ base : master
97
+ draft : false
98
+ branch : update-cgmanifest
99
+ update-cgmanifest :
100
+ name : Update cgmanifest
101
+ timeout-minutes : 15
102
+ runs-on : windows-latest
103
+ if : github.repository == 'PowerShell/PowerShell'
104
+ env :
105
+ CGMANIFEST_PATH : ' '
106
+ steps :
107
+ - name : Checkout
108
+ uses : actions/checkout@v2
109
+ - name : Sync tags
110
+ run : |
111
+ git fetch --prune --unshallow --tags
112
+ - name : Install Ships provider to deal with project.assets.json
113
+ run : |
114
+ Install-Module -Name dotnet.project.assets -force
115
+ - name : Bootstrap
116
+ run : |
117
+ Import-Module ./build.psm1
118
+ Start-PSBootStrap
119
+ - name : Verify cgmanifest is up to date
120
+ run : |
121
+ Import-Module ./build.psm1
122
+ Find-Dotnet
123
+ ./tools/findMissingNotices.ps1 -Fix
124
+ - name : Upload cgmanifest
125
+ uses : actions/upload-artifact@v2
126
+ if : always() && env.CGMANIFEST_PATH != ''
127
+ with :
128
+ name : cgmanifest
129
+ path : ${{ env.CGMANIFEST_PATH }}
130
+ - name : Create Pull Request
131
+ uses : peter-evans/create-pull-request@v3
132
+ id : cprcgmanifest
133
+ if : env.CGMANIFEST_PATH != ''
134
+ with :
135
+ commit-message : " Update the cgmanifest"
136
+ committer :
GitHub <[email protected] >
137
+ author : ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
138
+ title : " Update the cgmanifest"
95
139
reviewers : travisez13
96
140
base : master
97
141
draft : false
0 commit comments