template-cleanup.yml: cleanup

This commit is contained in:
Jakub Chrzanowski 2022-09-19 13:42:48 +02:00
parent 8fd687867d
commit 7dfde7761f
No known key found for this signature in database
GPG Key ID: C39095BFD769862E

View File

@ -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