Skip to content

Commit

Permalink
update tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
TheDayIsMyEnemy committed Feb 22, 2024
1 parent 1fb8a78 commit 32808c6
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/configure-new-repo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
if: ${{ github.event.created && github.repository != 'TheDayIsMyEnemy/BlazorTemplate' }}
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set repository name
id: repo_name
Expand All @@ -31,11 +31,20 @@ jobs:
- name: Remove setup files
run: rm .github/workflows/configure-new-repo.yml

- name: Commit changes
run: |
git config user.name github-actions
git config user.email github-actions@github.com
git checkout -b "configure-new-repo"
git add .
git commit -m "Configure new repo"
git push origin configure-new-repo
- name: Create pull request
uses: peter-evans/create-pull-request@v4
with:
token: ${{ secrets.PAT_TOKEN || secrets.GITHUB_TOKEN }}
commit-message: Configure new repo
token: ${{ secrets.GITHUB_TOKEN || secrets.PAT_TOKEN }}
#commit-message: Configure new repo
title: Configure new repo
body: This pull request renames folders and namespaces to match the repository name.
branch: configure-new-repo
Expand Down

0 comments on commit 32808c6

Please sign in to comment.