-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[add] Initialization script & action of GitHub template repository
[add] PR badge configuration [optimize] upgrade to PNPM 9 & other latest Upstream packages
- Loading branch information
Showing
12 changed files
with
5,151 additions
and
4,062 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
- icon: visualstudio | ||
label: 'GitHub.dev' | ||
message: 'PR-$prNumber' | ||
color: 'blue' | ||
url: 'https://github.dev/$owner/$repo/pull/$prNumber' | ||
|
||
- icon: github | ||
label: 'GitHub codespaces' | ||
message: 'PR-$prNumber' | ||
color: 'black' | ||
url: 'https://codespaces.new/$owner/$repo/pull/$prNumber' | ||
|
||
- icon: git | ||
label: 'GitPod.io' | ||
message: 'PR-$prNumber' | ||
color: 'orange' | ||
url: 'https://gitpod.io/?autostart=true#https://github.com/$owner/$repo/pull/$prNumber' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: Template Repository initialization | ||
on: | ||
push: | ||
branches: | ||
- main | ||
env: | ||
TEMPLATE_OWNER: EasyWebApp | ||
TEMPLATE_NAME: WebCell-scaffold | ||
|
||
jobs: | ||
replace-repository-name: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- if: github.repository != format('{0}/{1}', env.TEMPLATE_OWNER, env.TEMPLATE_NAME) | ||
run: | | ||
sh .github/workflows/replace-repository-name.sh \ | ||
${{ env.TEMPLATE_OWNER }} ${{ env.TEMPLATE_NAME }} \ | ||
${{ github.repository_owner }} ${{ github.event.repository.name }} | ||
rm -f .github/workflows/init-template.yml | ||
- uses: stefanzweifel/git-auto-commit-action@v5 | ||
with: | ||
commit_message: '[fix] replace Repository Name' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#! /usr/bin/env bash | ||
|
||
SourceOwner=$1 | ||
SourceName=$2 | ||
TargetOwner=$3 | ||
TargetName=$4 | ||
|
||
sed -i "s/$SourceOwner\/$SourceName/$TargetOwner\/$TargetName/ig" \ | ||
$(grep -i $SourceOwner/$SourceName -rl . --exclude-dir=.git --exclude-dir=node_modules) | ||
sed -i "s/$SourceName/$TargetName/ig" \ | ||
$(grep -i $SourceName -rl . --exclude-dir=.git --exclude-dir=node_modules) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
fe15b9f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Deploy preview for web-cell-scaffold ready!
✅ Preview
https://web-cell-scaffold-otn66g6wt-techquerys-projects.vercel.app
Built with commit fe15b9f.
This pull request is being automatically deployed with vercel-action