ci: Exclude writing actions on forks (#562)

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

No files matched your search

+1 -1
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