We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99f1a35 commit e04d29cCopy full SHA for e04d29c
.github/workflows/mend.yml
@@ -9,13 +9,11 @@ on:
9
workflow_dispatch:
10
11
jobs:
12
-
13
mend:
14
- if: github.event.pull_request.head.repo.full_name == github.repository
+ 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
runs-on: "ubuntu-latest"
16
17
steps:
18
19
- name: "checkout"
20
uses: "actions/checkout@v3"
21
with:
@@ -44,4 +42,4 @@ jobs:
44
42
WS_WSS_URL: https://saas-eu.whitesourcesoftware.com/agent
45
43
WS_USERKEY: ${{ secrets.MEND_TOKEN }}
46
WS_PRODUCTNAME: "Puppet Enterprise"
47
- WS_PROJECTNAME: ${{ github.event.repository.name }}
+ WS_PROJECTNAME: ${{ github.event.repository.name }}
0 commit comments