Limit reminder-bots to our repo
authorPablo Zmdl <redacted>
Mon, 25 Nov 2024 13:10:24 +0000 (14:10 +0100)
committerPablo Zmdl <redacted>
Mon, 25 Nov 2024 13:10:24 +0000 (14:10 +0100)
Previously these bots would work on all forks, too. Which is not a good
default, in my eyes, but anyway here's a change that stops that.

.github/workflows/bot-create-manual-reminder.yml
.github/workflows/bot-manual-reminder.yml
.github/workflows/bot-remind-stale-pull-requests.yml

index 01677d9ed79cd04b332e4db9f3305f1f6e3d661a..73fd7e20e55e105138ae84783a1a5cd891c02224 100644 (file)
@@ -10,6 +10,7 @@ on:
 
 jobs:
   reminder:
+    if: github.repository == 'roundcube/roundcubemail-docker'
     runs-on: ubuntu-latest
 
     steps:
index 0f17ae44823d8e46e33215705f807da16bb0e7cf..5b215728fd4647858a1dab4d378e9e3d4c3b04c7 100644 (file)
@@ -10,6 +10,7 @@ permissions:
 
 jobs:
   reminder:
+    if: github.repository == 'roundcube/roundcubemail-docker'
     runs-on: ubuntu-latest
 
     steps:
index b8846c2bdcb8e45447f63e2a71ded780f4d3d630..e96c59cb79898c6b182a2ca8a7a78f782c02fc97 100644 (file)
@@ -6,6 +6,7 @@ on:
 
 jobs:
   review-reminder:
+    if: github.repository == 'roundcube/roundcubemail-docker'
     runs-on: ubuntu-latest
     steps:
       - uses: sojusan/github-action-reminder@v1
git clone https://git.99rst.org/PROJECT