Skip to content

Commit

Permalink
Self-hosted runner cleanup: run only in GfW org
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
dennisameling committed Sep 22, 2024
1 parent 0ee51ad commit 72a1b0d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/cleanup-self-hosted-runners.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ on:
# group specifically for self-hosted Actions Runners.
jobs:
delete-runner:
if: github.repository_owner == 'git-for-windows'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit 72a1b0d

Please sign in to comment.