Skip to content

Commit 72a1b0d

Browse files
committed
Self-hosted runner cleanup: run only in GfW org
It doesn't make sense to run this scheduled job on forks, because they don't have the required secrets. Signed-off-by: Dennis Ameling <[email protected]>
1 parent 0ee51ad commit 72a1b0d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/cleanup-self-hosted-runners.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ on:
1717
# group specifically for self-hosted Actions Runners.
1818
jobs:
1919
delete-runner:
20+
if: github.repository_owner == 'git-for-windows'
2021
runs-on: ubuntu-latest
2122
steps:
2223
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)