Skip to content

[fix] GitHub template initializer branch #1

[fix] GitHub template initializer branch

[fix] GitHub template initializer branch #1

Workflow file for this run

name: Template Repository initialization
on:
push:
branches:
- master
env:
TEMPLATE_OWNER: idea2app
TEMPLATE_NAME: REST-Node-ts
jobs:
replace-repository-name:
runs-on: ubuntu-latest
permissions:
contents: write
actions: write
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 }}
git checkout -- .github/workflows/init-template.yml
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: '[fix] replace Repository Name'