File tree Expand file tree Collapse file tree 2 files changed +20
-6
lines changed Expand file tree Collapse file tree 2 files changed +20
-6
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ DB_CONNECTION=mysql
1616DB_HOST = ls_dev_db
1717DB_PORT = 3306
1818DB_DATABASE = laravel_starter
19- DB_USERNAME = laravel_starter
19+ DB_USERNAME = root
2020DB_PASSWORD = laravel_starter
2121
2222BROADCAST_DRIVER = log
Original file line number Diff line number Diff line change @@ -73,14 +73,28 @@ jobs:
7373 - name : 🏗 Build Frontend with Vite
7474 run : pnpm build
7575
76- - name : Set up Git user
76+ - name : 👤 Set up Git user
7777 run : |
7878 git config --global user.name "${{ github.actor }}-ci-automation"
7979 git config --global user.email "${{ env.GITHUB_GIT_EMAIL }}"
8080
81- - name : Check for changes
82- run : git diff --quiet || git commit -am "Update dependencies"
81+ - name : 🌿 Create a new branch
82+ run : |
83+ NEW_BRANCH="update/bump-dependency-versions-$(date +'%d-%m-%Y')"
84+ git checkout -b "$NEW_BRANCH"
85+
86+ - name : 🔍 Check for changes and commit
87+ run : |
88+ git diff --quiet || git commit -am "Update dependencies"
8389
84- - name : Push changes
90+ - name : 🚀 Push changes
8591 if : success()
86- run : git push origin HEAD
92+ run : git push origin "$NEW_BRANCH"
93+
94+ - name : 🔀 Create Pull Request
95+ uses : repo-sync/pull-request@v2
96+ with :
97+ source_branch : ${{ steps.create-branch.outputs.NEW_BRANCH }}
98+ destination_branch : main
99+ pr_title : ' Bump dependencies'
100+ pr_body : ' This PR updates the project dependencies.'
You can’t perform that action at this time.
0 commit comments