Disable a few workflows on forks

This commit is contained in:
Bruno Alla 2021-12-06 11:50:50 +00:00
parent a253ad9d5a
commit 4a63cecebc
4 changed files with 7 additions and 3 deletions

View File

@ -10,7 +10,7 @@ on:
workflow_dispatch: workflow_dispatch:
jobs: jobs:
issue-manager: issue-checker:
# Disables this workflow from running in a repository that is not part of the indicated organization/user # Disables this workflow from running in a repository that is not part of the indicated organization/user
if: github.repository_owner == 'cookiecutter' if: github.repository_owner == 'cookiecutter'

View File

@ -10,6 +10,9 @@ on:
jobs: jobs:
auto-update: auto-update:
# Disables this workflow from running in a repository that is not part of the indicated organization/user
if: github.repository_owner == 'cookiecutter'
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2

View File

@ -13,7 +13,6 @@ jobs:
if: github.repository_owner == 'cookiecutter' if: github.repository_owner == 'cookiecutter'
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2

View File

@ -7,8 +7,10 @@ on:
jobs: jobs:
build: build:
runs-on: ubuntu-latest # Disables this workflow from running in a repository that is not part of the indicated organization/user
if: github.repository_owner == 'cookiecutter'
runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2