summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas@opensourcerouting.org>2022-12-08 21:54:28 +0100
committerDonatas Abraitis <donatas@opensourcerouting.org>2022-12-08 21:54:28 +0100
commite535be623ad29d08fefc15ddef8487e71e33bde4 (patch)
tree34d744fb886e234baff9c3d64e7f6e8efe9a6dc3 /.github
parentMerge pull request #12463 from opensourcerouting/fix/totalPrefixCounter_with_... (diff)
downloadfrr-e535be623ad29d08fefc15ddef8487e71e33bde4.tar.xz
frr-e535be623ad29d08fefc15ddef8487e71e33bde4.zip
github: Prevent running actions on forked repositories
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/base-branch-label.yml1
-rw-r--r--.github/workflows/conflicts.yml1
-rw-r--r--.github/workflows/docker-daily-master.yml1
-rw-r--r--.github/workflows/docker-stable.yml1
-rw-r--r--.github/workflows/mergifyio_backport.yml1
-rw-r--r--.github/workflows/size-label.yml1
-rw-r--r--.github/workflows/stale.yml1
7 files changed, 7 insertions, 0 deletions
diff --git a/.github/workflows/base-branch-label.yml b/.github/workflows/base-branch-label.yml
index 01da28091..5c5d8290b 100644
--- a/.github/workflows/base-branch-label.yml
+++ b/.github/workflows/base-branch-label.yml
@@ -8,6 +8,7 @@ on:
jobs:
label:
+ if: github.repository == 'frrouting/frr'
runs-on: ubuntu-latest
permissions:
contents: read
diff --git a/.github/workflows/conflicts.yml b/.github/workflows/conflicts.yml
index 18a8c0d15..3f51e7f4d 100644
--- a/.github/workflows/conflicts.yml
+++ b/.github/workflows/conflicts.yml
@@ -7,6 +7,7 @@ on:
jobs:
conflicts:
+ if: github.repository == 'frrouting/frr'
runs-on: ubuntu-latest
permissions:
contents: read
diff --git a/.github/workflows/docker-daily-master.yml b/.github/workflows/docker-daily-master.yml
index c82d05323..5b521a870 100644
--- a/.github/workflows/docker-daily-master.yml
+++ b/.github/workflows/docker-daily-master.yml
@@ -10,6 +10,7 @@ concurrency:
jobs:
docker_daily_master:
+ if: github.repository == 'frrouting/frr'
runs-on: ubuntu-latest
permissions:
contents: read
diff --git a/.github/workflows/docker-stable.yml b/.github/workflows/docker-stable.yml
index c720d35ca..1e069a722 100644
--- a/.github/workflows/docker-stable.yml
+++ b/.github/workflows/docker-stable.yml
@@ -11,6 +11,7 @@ concurrency:
jobs:
docker_daily_master:
+ if: github.repository == 'frrouting/frr'
runs-on: ubuntu-latest
permissions:
contents: read
diff --git a/.github/workflows/mergifyio_backport.yml b/.github/workflows/mergifyio_backport.yml
index bca8f34fe..455dcbeb8 100644
--- a/.github/workflows/mergifyio_backport.yml
+++ b/.github/workflows/mergifyio_backport.yml
@@ -4,6 +4,7 @@ on: [issue_comment]
jobs:
mergifyio_backport:
+ if: github.repository == 'frrouting/frr'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
diff --git a/.github/workflows/size-label.yml b/.github/workflows/size-label.yml
index a37700342..1ce07864a 100644
--- a/.github/workflows/size-label.yml
+++ b/.github/workflows/size-label.yml
@@ -4,6 +4,7 @@ on: pull_request_target
jobs:
size-label:
+ if: github.repository == 'frrouting/frr'
runs-on: ubuntu-latest
permissions:
contents: read
diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml
index 45095b3dd..cd1365ba5 100644
--- a/.github/workflows/stale.yml
+++ b/.github/workflows/stale.yml
@@ -10,6 +10,7 @@ permissions:
jobs:
stale:
+ if: github.repository == 'frrouting/frr'
permissions:
issues: write
pull-requests: write