File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -239,15 +239,20 @@ jobs:
239239
240240 echo "README updated!"
241241
242- - name : Commit and push changes
242+ - name : Create Pull Request with changes
243243 if : github.event_name == 'push' && github.ref == 'refs/heads/main'
244- run : |
245- git config --local user.email "github-actions[bot]@users.noreply.github.com"
246- git config --local user.name "github-actions[bot]"
247- git add README.md
248- if git diff --staged --quiet; then
249- echo "No changes to commit"
250- else
251- git commit -m "📊 Update Docker image size comparison table"
252- git push
253- fi
244+ uses : peter-evans/create-pull-request@v6
245+ with :
246+ token : ${{ secrets.GITHUB_TOKEN }}
247+ commit-message : " 📊 Update Docker image size comparison table"
248+ title : " 📊 Update Docker image size comparison table"
249+ body : |
250+ This PR updates the Docker image size comparison table in the README.
251+
252+ The table shows the size difference between optimized Dockerfiles and their `.old` counterparts.
253+
254+ ---
255+ _This PR was automatically generated by GitHub Actions._
256+ branch : update-docker-sizes
257+ delete-branch : true
258+ base : main
You can’t perform that action at this time.
0 commit comments