Skip to content

Commit

Permalink
Skip workflows if it is fork (#2092)
Browse files Browse the repository at this point in the history
Signed-off-by: Denis Papec <[email protected]>
  • Loading branch information
denispapec committed Sep 30, 2023
1 parent 0c2671e commit 67ebe29
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ env:

jobs:
build:

if: github.repository == 'benphelps/homepage'
runs-on: self-hosted
permissions:
contents: read
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/docs-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ permissions:

jobs:
deploy:
if: github.repository == 'benphelps/homepage'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit 67ebe29

Please sign in to comment.