ci: disable push artifacts on fork repos

disabling push artifacts github action on the
fork repos as it doesnot makes sense to run push
actions on the fork repo.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
Madhu Rajanna 2021-06-17 11:52:01 +05:30 committed by Niels de Vos
parent f66b21873b
commit 9fde4f7f18

View File

@ -13,6 +13,7 @@ jobs:
push:
name: Publish artifacts
runs-on: ubuntu-latest
if: github.repository == 'ceph/ceph-csi'
steps:
- uses: actions/checkout@v2