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 26e02ca commit a3a3cc3
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 a3a3cc3

Please sign in to comment.