|
|
@ -5,18 +5,17 @@
|
|
|
|
name: Template Cleanup
|
|
|
|
name: Template Cleanup
|
|
|
|
on:
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
branches: [main]
|
|
|
|
- main
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
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:
|
|
|
|
template-cleanup:
|
|
|
|
name: Template Cleanup
|
|
|
|
name: Template Cleanup
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
if: github.event.repository.name != 'intellij-platform-plugin-template'
|
|
|
|
permissions:
|
|
|
|
permissions:
|
|
|
|
contents: write
|
|
|
|
contents: write
|
|
|
|
if: github.event.repository.name != 'intellij-platform-plugin-template'
|
|
|
|
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
|
|
|
|
|
|
|
|
# Check out current repository
|
|
|
|
# Check out current repository
|
|
|
|