This repository was archived by the owner on Jun 26, 2026. 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 @@ -23,12 +23,21 @@ jobs:
2323 git submodule update --init --recursive
2424 git submodule update --recursive --remote
2525
26+ - name : Get updated submodule commit hash
27+ id : submodule-hash
28+ shell : pwsh
29+ run : |
30+ $line = (git submodule status --recursive | Select-Object -First 1).Trim()
31+ $hash = ($line -split '\s+')[0].TrimStart('-','+')
32+ $shortHash = $hash.Substring(0,7)
33+ "short=$shortHash" >> $env:GITHUB_OUTPUT
34+
2635 - name : Create Pull Request
2736 uses : peter-evans/create-pull-request@v7
2837 with :
2938 token : ${{ secrets.OCC_TOKEN }}
3039 commit-message : Update submodules to latest versions
31- title : Update submodules to latest versions 🔄
40+ title : Update OCC.Library submodule to commit ${{ steps.submodule-hash.outputs.short }}
3241 body : |
3342 Automated submodule update generated by workflow.
3443 branch : update-submodules
You can’t perform that action at this time.
0 commit comments