generated from pddg/latex-template-ja
-
Notifications
You must be signed in to change notification settings - Fork 47
35 lines (28 loc) · 934 Bytes
/
remove_depbot.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# https://github.com/ad-m/github-push-action/issues/96#issuecomment-889984928
name: first-time-setup
run-name: first time setup of repo
on:
# run when branch created (repo generated from template)
create:
# only keep latest run of this workflow
concurrency:
group: first-time-setup
cancel-in-progress: true
jobs:
first-time-setup:
# ensure run only once, when repo generated
if: github.run_number == 1
runs-on: ubuntu-latest
permissions: write-all
steps:
# get main branch repo contents
- name: Checkout code
uses: actions/checkout@v4
# remove files not needed for user instance of template
- name: Remove unneeded files
run: rm -f .github/dependabot.yml
# save changed files
- name: Commit changed files
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "Setup repo"