ci: Exclude writing actions on forks (#562)

Co-authored-by: peaceiris <30958501+peaceiris@users.noreply.github.com>
This commit is contained in:
Oleh Prypin
2021-01-21 14:10:28 +01:00
committed by GitHub
parent 87b7480404
commit fcead0e030
2 changed files with 6 additions and 6 deletions

View File

@@ -43,4 +43,4 @@ jobs:
- run: make ci
- run: make all
- run: docker-compose push
if: github.ref == 'refs/heads/main'
if: github.ref == 'refs/heads/main' && github.event.repository.fork == false