💚 Fixing CI Build. fork 仓库不执行钉钉 action结果推送

This commit is contained in:
云彩ing 2021-09-12 07:37:47 +08:00
parent 4e6d9d719b
commit 6f5473ef4d

View File

@ -27,7 +27,7 @@ jobs:
run: mvn spring-javaformat:validate
- name: success
if: ${{ success() }}
if: success() && github.repository == 'pig-mesh/pig'
uses: fifsky/dingtalk-action@master
with:
url: ${{ secrets.DINGTALK_WEBHOOK}}
@ -38,7 +38,7 @@ jobs:
> ^_^ from github action message
- name: failure
if: ${{ failure() }}
if: failure() && github.repository == 'pig-mesh/pig'
uses: fifsky/dingtalk-action@master
with:
url: ${{ secrets.DINGTALK_WEBHOOK}}