File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,8 @@ name: "mend"
22
33on :
44 pull_request :
5+ types :
6+ - closed
57 branches :
68 - " main"
79 schedule :
1012
1113jobs :
1214 mend :
13- if : github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' || github.event_name == 'pull_request' && github. event.action == 'closed' && github.event.pull_request.merged == true
15+ if : github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' || ( github.event.pull_request.merged == true && github.ref == 'refs/heads/main')
1416 runs-on : " ubuntu-latest"
1517
1618 steps :
4143 WS_APIKEY : ${{ secrets.MEND_API_KEY }}
4244 WS_WSS_URL : https://saas-eu.whitesourcesoftware.com/agent
4345 WS_USERKEY : ${{ secrets.MEND_TOKEN }}
44- WS_PRODUCTNAME : " Puppet Enterprise "
46+ WS_PRODUCTNAME : InsTalleR
4547 WS_PROJECTNAME : ${{ github.event.repository.name }}
You can’t perform that action at this time.
0 commit comments