@@ -50,39 +50,41 @@ jobs:
5050 with :
5151 python-version : ${{ matrix.python-version }}
5252 runner-os : ${{ runner.os }}
53- update-results : ${{ steps.parse-run-examples-config.outputs.update_results }}
54- check : ${{ steps.changed-pdl-files.outputs.all_changed_files }}
53+ # update-results: ${{ steps.parse-run-examples-config.outputs.update_results }}
54+ # check: ${{ steps.changed-pdl-files.outputs.all_changed_files }}
55+ update-results : ' true'
56+ check : ' []'
5557 head-ref : ${{ github.head_ref }}
5658
57- # Patch config with update_results to false
58- # Fetch the latest branch
59- - uses : actions/checkout@v4
60- if : ${{ steps.parse-run-examples-config.outputs.update_results && matrix.python-version == '3.13' }}
61- with :
62- ref : ${{ github.head_ref }}
63- fetch-depth : 0
64- - name : Patch tests/test_examples_run.yaml with update_results to False, only for the last matrix version
65- if : ${{ steps.parse-run-examples-config.outputs.update_results && matrix.python-version == '3.13' }}
66- uses : fjogeleit/yaml-update-action@main
67- with :
68- changes : |
69- {
70- "tests/test_examples_run.yaml": {
71- "update_results": false
72- }
73- }
74- commitChange : false
75- - name : Push the new run-examples yaml config
76- if : ${{ steps.parse-run-examples-config.outputs.update_results && matrix.python-version == '3.13' }}
77- shell : bash
78- run : |
79- git config --local user.name github-actions[bot]
80- git config --local user.email 41898282+github-actions[bot]@users.noreply.github.com
81- git status
82- git pull
83- git add tests/test_examples_run.yaml
84- git diff --cached --quiet || git commit -s -m "github-actions[bot]: Run examples: reverting update_result to false on your behalf"
85- git push
59+ # # Patch config with update_results to false
60+ # # Fetch the latest branch
61+ # - uses: actions/checkout@v4
62+ # if: ${{ steps.parse-run-examples-config.outputs.update_results && matrix.python-version == '3.13' }}
63+ # with:
64+ # ref: ${{ github.head_ref }}
65+ # fetch-depth: 0
66+ # - name: Patch tests/test_examples_run.yaml with update_results to False, only for the last matrix version
67+ # if: ${{ steps.parse-run-examples-config.outputs.update_results && matrix.python-version == '3.13' }}
68+ # uses: fjogeleit/yaml-update-action@main
69+ # with:
70+ # changes: |
71+ # {
72+ # "tests/test_examples_run.yaml": {
73+ # "update_results": false
74+ # }
75+ # }
76+ # commitChange: false
77+ # - name: Push the new run-examples yaml config
78+ # if: ${{ steps.parse-run-examples-config.outputs.update_results && matrix.python-version == '3.13' }}
79+ # shell: bash
80+ # run: |
81+ # git config --local user.name github-actions[bot]
82+ # git config --local user.email 41898282+github-actions[bot]@users.noreply.github.com
83+ # git status
84+ # git pull
85+ # git add tests/test_examples_run.yaml
86+ # git diff --cached --quiet || git commit -s -m "github-actions[bot]: Run examples: reverting update_result to false on your behalf"
87+ # git push
8688
8789
8890
0 commit comments