@@ -2,8 +2,8 @@ name: Deployment v2
22
33on :
44 push :
5- branches : [main-copy]
6- tags : [cowswap-*, explorer-*]
5+ branches : [ main-copy ]
6+ tags : [ cowswap-*, explorer-* ]
77
88concurrency :
99 group : release-branch-sync
9999 - name : Create or update pull request
100100 if : steps.prepare.outputs.has_changes == 'true'
101101 id : create-pr
102- uses : peter-evans/create-pull-request@v8
102+ uses : peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0 # v8.1.0
103103 with :
104104 token : ${{ steps.setup.outputs.token }}
105105 branch : ${{ env.SYNC_BRANCH }}
@@ -151,7 +151,7 @@ jobs:
151151 notify-production-approval :
152152 name : Notify Slack for production approval
153153 if : startsWith(github.ref, 'refs/tags/cowswap-') || startsWith(github.ref, 'refs/tags/explorer-')
154- needs : [collect-release-metadata, sync-staging]
154+ needs : [ collect-release-metadata, sync-staging ]
155155 runs-on : ubuntu-latest
156156 steps :
157157 - name : Notify Slack
@@ -169,7 +169,7 @@ jobs:
169169 sync-production :
170170 name : Fast-forward production to main-copy
171171 if : startsWith(github.ref, 'refs/tags/cowswap-') || startsWith(github.ref, 'refs/tags/explorer-')
172- needs : [collect-release-metadata, notify-production-approval]
172+ needs : [ collect-release-metadata, notify-production-approval ]
173173 runs-on : ubuntu-latest
174174 environment : production # Env configured in GitHub UI. Requires manual approval before this job can run
175175 steps :
0 commit comments