Skip to content

Commit

Permalink
ci: fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
kilee1230 committed Dec 23, 2023
1 parent ddb44fa commit 6973441
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/first-time-setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ concurrency:
group: first-time-setup
cancel-in-progress: true

permissions:
actions: write
checks: write
contents: write

jobs:
first-time-setup:
# ensure run only once, when repo generated
Expand All @@ -21,6 +26,9 @@ jobs:
# get main branch repo contents
- name: Checkout code
uses: actions/checkout@v4
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}


# remove files not needed for user instance of template
- name: Remove unneeded files
Expand All @@ -39,4 +47,7 @@ jobs:
- name: Commit changed files
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "Setup repo"
commit_message: "Setup repo"

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 6973441

Please sign in to comment.