This repository was archived by the owner on May 26, 2025. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2727 run : |
2828 echo "Renaming the project with -a(author) ${{ env.REPOSITORY_OWNER }} -n(name) ${{ env.REPOSITORY_NAME }} -u(urlname) ${{ env.REPOSITORY_URLNAME }}"
2929 .github/rename_project.sh -a ${{ env.REPOSITORY_OWNER }} -n ${{ env.REPOSITORY_NAME }} -u ${{ env.REPOSITORY_URLNAME }} -d "Awesome ${{ env.REPOSITORY_NAME }} created by ${{ env.REPOSITORY_OWNER }}"
30-
31- - name : This runs only once
32- run : |
33- # use the same author as the initial commit
34- git config user.email "$(git log -1 --pretty=format:'%ae')"
35- git config user.name "$(git log -1 --pretty=format:'%an')"
36- git add .
37- git commit -m "✅ Ready to clone and code."
38- git push origin $GITHUB_REF --force
39-
40- # - name: Get last commit message
41- # id: last-commit-message
42- # run: |
43- # echo "::set-output name=msg::$(git log -1 --pretty=%s)"
44-
45- # - uses: stefanzweifel/git-auto-commit-action@v4
46- # with:
47- # commit_message: "✅ Ready to clone and code."
48- # # commit_message: ${{ steps.last-commit-message.outputs.msg }}
49- # # commit_options: '--amend --no-edit'
50- # push_options: --force
30+
31+ - uses : stefanzweifel/git-auto-commit-action@v4
32+ with :
33+ commit_message : " ✅ Ready to clone and code."
34+ # commit_options: '--amend --no-edit'
35+ push_options : --force
You can’t perform that action at this time.
0 commit comments