File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,12 +24,13 @@ jobs:
2424 - name : Run generate_path.py
2525 run : python tools/generate_path.py
2626
27- - name : Commit and push changes
28- run : |
29- git config --global user.name "github-actions[bot]"
30- git config --global user.email "github-actions[bot]@users.noreply.github.com"
31- git add map.yaml
32- git diff --cached --quiet || git commit -m "Auto-update map.yaml"
33- git push
27+ - name : Create Pull Request for map.yaml update
28+ uses : peter-evans/create-pull-request@v6
29+ with :
30+ commit-message : " Auto-update map.yaml"
31+ title : " Auto-update map.yaml"
32+ body : " This PR was automatically generated by a GitHub Action to update map.yaml."
33+ branch : auto/update-map-yaml
34+ add-paths : map.yaml
3435 env :
3536 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -24,12 +24,13 @@ jobs:
2424 - name : Run update_meta_yamls.py
2525 run : python tools/update_meta_yamls.py
2626
27- - name : Commit and push changes
28- run : |
29- git config --global user.name "github-actions[bot]"
30- git config --global user.email "github-actions[bot]@users.noreply.github.com"
31- git add .
32- git diff --cached --quiet || git commit -m "Auto-update meta.yaml files"
33- git push
27+ - name : Create Pull Request for meta.yaml update
28+ uses : peter-evans/create-pull-request@v6
29+ with :
30+ commit-message : " Auto-update meta.yaml files"
31+ title : " Auto-update meta.yaml files"
32+ body : " This PR was automatically generated by a GitHub Action to update meta.yaml files."
33+ branch : auto/update-meta-yamls
34+ add-paths : ' **/meta.yaml'
3435 env :
3536 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments