From 2d52a1a40d95f9696955e023acdc265f0dcdf7ce Mon Sep 17 00:00:00 2001 From: MoChilia Date: Tue, 9 Apr 2024 15:48:39 +0800 Subject: [PATCH] cleanup bypass github-hosted runner --- action.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/action.yml b/action.yml index af6c2739..6b07e86c 100644 --- a/action.yml +++ b/action.yml @@ -40,5 +40,7 @@ branding: runs: using: 'node20' pre: 'lib/cleanup/index.js' + pre-if: ${{ ! startsWith( runner.name, 'GitHub Actions' ) }} main: 'lib/main/index.js' post: 'lib/cleanup/index.js' + post-if: ${{ ! startsWith( runner.name, 'GitHub Actions' ) }}