rename-project-create-pr #1
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
name: rename-project-create-pr | |
on: [workflow_dispatch] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run rename-project script | |
run: ./rename-project.bash ${{ github.event.repository.name }} | |
- name: Delete this github actions workflow | |
run: rm .github/workflows/rename_template_project* | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v5 | |
with: | |
commit-message: updating project name after deployment from template repository | |
title: Update template project name/references | |
body: Update all references to project name after deploying from template repository | |
branch: rename_template_project | |
base: main |