We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Template Cleanup
1 parent 94fb314 commit 9eaf44dCopy full SHA for 9eaf44d
.github/workflows/template-cleanup.yml
@@ -5,21 +5,22 @@
5
name: Template Cleanup
6
on:
7
push:
8
- branches:
9
- - main
+ branches: [main]
10
11
jobs:
12
13
- # Run cleaning process only if workflow is triggered by the .../advent-of-code-kotlin-template repository.
+ # Run cleaning process only if workflow is triggered by the non-"advent-of-code-kotlin-template" repository.
14
template-cleanup:
15
16
runs-on: ubuntu-latest
17
if: github.event.repository.name != 'advent-of-code-kotlin-template'
+ permissions:
18
+ contents: write
19
steps:
20
21
# Check out current repository
22
- name: Fetch Sources
- uses: actions/checkout@v2.4.0
23
+ uses: actions/checkout@v3
24
25
# Cleanup project
26
- name: Cleanup
0 commit comments