Skip workflows if it is fork (#2092)
Signed-off-by: Denis Papec <denis.papec@gmail.com>
This commit is contained in:
parent
0c2671ea00
commit
67ebe29db7
2 changed files with 2 additions and 1 deletions
2
.github/workflows/docker-publish.yml
vendored
2
.github/workflows/docker-publish.yml
vendored
|
@ -24,7 +24,7 @@ env:
|
|||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
if: github.repository == 'benphelps/homepage'
|
||||
runs-on: self-hosted
|
||||
permissions:
|
||||
contents: read
|
||||
|
|
1
.github/workflows/docs-publish.yml
vendored
1
.github/workflows/docs-publish.yml
vendored
|
@ -11,6 +11,7 @@ permissions:
|
|||
|
||||
jobs:
|
||||
deploy:
|
||||
if: github.repository == 'benphelps/homepage'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
|
Loading…
Add table
Reference in a new issue