From 7dfde7761f27838434803e74cc20f063a5bd5ab2 Mon Sep 17 00:00:00 2001 From: Jakub Chrzanowski Date: Mon, 19 Sep 2022 13:42:48 +0200 Subject: [PATCH] template-cleanup.yml: cleanup --- .github/workflows/template-cleanup.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/template-cleanup.yml b/.github/workflows/template-cleanup.yml index 54f212b..6e246d7 100644 --- a/.github/workflows/template-cleanup.yml +++ b/.github/workflows/template-cleanup.yml @@ -5,18 +5,17 @@ name: Template Cleanup on: push: - branches: - - main + branches: [main] jobs: - # Run cleaning process only if workflow is triggered by the non-JetBrains/intellij-platform-plugin-template repository. + # Run cleaning process only if workflow is triggered by the non-"intellij-platform-plugin-template" repository. template-cleanup: name: Template Cleanup runs-on: ubuntu-latest + if: github.event.repository.name != 'intellij-platform-plugin-template' permissions: contents: write - if: github.event.repository.name != 'intellij-platform-plugin-template' steps: # Check out current repository