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:
|
jobs:
|
||||||
label:
|
label:
|
||||||
|
if: github.repository == 'frrouting/frr'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|
1
.github/workflows/conflicts.yml
vendored
1
.github/workflows/conflicts.yml
vendored
|
@ -7,6 +7,7 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
conflicts:
|
conflicts:
|
||||||
|
if: github.repository == 'frrouting/frr'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|
1
.github/workflows/docker-daily-master.yml
vendored
1
.github/workflows/docker-daily-master.yml
vendored
|
@ -10,6 +10,7 @@ concurrency:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
docker_daily_master:
|
docker_daily_master:
|
||||||
|
if: github.repository == 'frrouting/frr'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|
1
.github/workflows/docker-stable.yml
vendored
1
.github/workflows/docker-stable.yml
vendored
|
@ -11,6 +11,7 @@ concurrency:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
docker_daily_master:
|
docker_daily_master:
|
||||||
|
if: github.repository == 'frrouting/frr'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|
1
.github/workflows/mergifyio_backport.yml
vendored
1
.github/workflows/mergifyio_backport.yml
vendored
|
@ -4,6 +4,7 @@ on: [issue_comment]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
mergifyio_backport:
|
mergifyio_backport:
|
||||||
|
if: github.repository == 'frrouting/frr'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- 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:
|
jobs:
|
||||||
size-label:
|
size-label:
|
||||||
|
if: github.repository == 'frrouting/frr'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|
1
.github/workflows/stale.yml
vendored
1
.github/workflows/stale.yml
vendored
|
@ -10,6 +10,7 @@ permissions:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
stale:
|
stale:
|
||||||
|
if: github.repository == 'frrouting/frr'
|
||||||
permissions:
|
permissions:
|
||||||
issues: write
|
issues: write
|
||||||
pull-requests: write
|
pull-requests: write
|
||||||
|
|
Loading…
Reference in a new issue