forked from Mirror/frr
github: Prevent running actions on forked repositories
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
This commit is contained in:
parent
57968e38a9
commit
e535be623a
1
.github/workflows/base-branch-label.yml
vendored
1
.github/workflows/base-branch-label.yml
vendored
|
@ -8,6 +8,7 @@ on:
|
|||
|
||||
jobs:
|
||||
label:
|
||||
if: github.repository == 'frrouting/frr'
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
|
|
1
.github/workflows/conflicts.yml
vendored
1
.github/workflows/conflicts.yml
vendored
|
@ -7,6 +7,7 @@ on:
|
|||
|
||||
jobs:
|
||||
conflicts:
|
||||
if: github.repository == 'frrouting/frr'
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
|
|
1
.github/workflows/docker-daily-master.yml
vendored
1
.github/workflows/docker-daily-master.yml
vendored
|
@ -10,6 +10,7 @@ concurrency:
|
|||
|
||||
jobs:
|
||||
docker_daily_master:
|
||||
if: github.repository == 'frrouting/frr'
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
|
|
1
.github/workflows/docker-stable.yml
vendored
1
.github/workflows/docker-stable.yml
vendored
|
@ -11,6 +11,7 @@ concurrency:
|
|||
|
||||
jobs:
|
||||
docker_daily_master:
|
||||
if: github.repository == 'frrouting/frr'
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
|
|
1
.github/workflows/mergifyio_backport.yml
vendored
1
.github/workflows/mergifyio_backport.yml
vendored
|
@ -4,6 +4,7 @@ on: [issue_comment]
|
|||
|
||||
jobs:
|
||||
mergifyio_backport:
|
||||
if: github.repository == 'frrouting/frr'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
|
1
.github/workflows/size-label.yml
vendored
1
.github/workflows/size-label.yml
vendored
|
@ -4,6 +4,7 @@ on: pull_request_target
|
|||
|
||||
jobs:
|
||||
size-label:
|
||||
if: github.repository == 'frrouting/frr'
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
|
|
1
.github/workflows/stale.yml
vendored
1
.github/workflows/stale.yml
vendored
|
@ -10,6 +10,7 @@ permissions:
|
|||
|
||||
jobs:
|
||||
stale:
|
||||
if: github.repository == 'frrouting/frr'
|
||||
permissions:
|
||||
issues: write
|
||||
pull-requests: write
|
||||
|
|
Loading…
Reference in a new issue