Do not run deployments on forks (#114)

This commit is contained in:
Piotr Rogowski 2023-07-01 20:46:51 +02:00 committed by GitHub
parent 2003787d0b
commit 3a8117c70d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -11,6 +11,7 @@ on:
jobs:
deploy:
runs-on: ubuntu-latest
if: github.repository_owner == 'FOME-Tech'
permissions:
contents: read

View File

@ -11,7 +11,7 @@ on:
jobs:
deploy:
runs-on: ubuntu-latest
if: ${{ github.actor != 'dependabot[bot]' }}
if: github.repository_owner == 'FOME-Tech' && github.actor != 'dependabot[bot]'
permissions:
contents: read