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 7dfbadc commit e26bc50Copy full SHA for e26bc50
.github/workflows/update-contributors-details.yml
@@ -2,10 +2,8 @@ name: update-contributor-details
2
3
on:
4
pull_request_target:
5
- types:
6
- - closed
7
- branches:
8
- - main
+ types: [closed]
+ branches: [main]
9
10
env:
11
REPO_NAME: ${{ github.repository }}
@@ -14,7 +12,7 @@ env:
14
12
15
13
jobs:
16
update-by-pr:
17
- if: ${{ github.event.pull_request.title != 'init' }}
+ if: ${{ github.event.pull_request.title != 'init' && github.event.pull_request.merged == true }}
18
runs-on: ubuntu-latest
19
20
permissions:
@@ -62,4 +60,4 @@ jobs:
62
60
else
63
61
echo "Nothing to push"
64
exit 1
65
- fi
+ fi
0 commit comments