1515 steps :
1616 - uses : actions/checkout@v4
1717
18+ - name : patch in version tag
19+ run : |
20+ sed -i s/replace-with-version-tag/${{ github.ref_name }}/ $(find .devcontainer -name devcontainer-feature.json)
21+
1822 - name : " Publish Features"
1923 uses : devcontainers/action@v1
2024 with :
@@ -25,25 +29,25 @@ jobs:
2529 env :
2630 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
2731
28- - name : Create PR for Documentation
29- id : push_image_info
30- env :
31- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
32- run : |
33- set -e
34- echo "Start."
35- # Configure git and Push updates
36- git config --global user.email github-actions[bot]@users.noreply.github.com
37- git config --global user.name github-actions[bot]
38- git config pull.rebase false
39- branch=automated-documentation-update-$GITHUB_RUN_ID
40- git checkout -b $branch
41- message='Automated documentation update'
42- # Add / update and commit
43- git add */**/README.md
44- git commit -m 'Automated documentation update [skip ci]' || export NO_UPDATES=true
45- # Push
46- if [ "$NO_UPDATES" != "true" ] ; then
47- git push origin "$branch"
48- gh pr create --title "$message" --body "$message"
49- fi
32+ # - name: Create PR for Documentation
33+ # id: push_image_info
34+ # env:
35+ # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
36+ # run: |
37+ # set -e
38+ # echo "Start."
39+ # # Configure git and Push updates
40+ # git config --global user.email github-actions[bot]@users.noreply.github.com
41+ # git config --global user.name github-actions[bot]
42+ # git config pull.rebase false
43+ # branch=automated-documentation-update-$GITHUB_RUN_ID
44+ # git checkout -b $branch
45+ # message='Automated documentation update'
46+ # # Add / update and commit
47+ # git add */**/README.md
48+ # git commit -m 'Automated documentation update [skip ci]' || export NO_UPDATES=true
49+ # # Push
50+ # if [ "$NO_UPDATES" != "true" ] ; then
51+ # git push origin "$branch"
52+ # gh pr create --title "$message" --body "$message"
53+ # fi
0 commit comments