mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-11 06:20:11 +00:00
Merge pull request #12471 from opensourcerouting/fix/gh_actions_on_forks_forbidden
github: Prevent running actions on forked repositories
This commit is contained in:
commit
f29a262d83
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 New Issue
Block a user