File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 4040 - name : Run self-hosted validation
4141 if : ${{ inputs.step == 'run-self-hosted-validation' }}
4242 run : |
43- ~/run_validation.sh \
43+ ~/runner-scripts/ run_validation.sh \
4444 --repo ${{ github.repository }} \
4545 --branch ${{ github.head_ref }} \
4646 --base_branch ${{ github.base_ref }} \
5757 uses : actions/download-artifact@v4
5858
5959 - name : Move artifacts to home directory
60+ if : ${{ inputs.step == 'create-comment' }}
6061 run : |
6162 # Move artifacts to home directory
6263 mkdir $HOME/artifacts
@@ -122,7 +123,7 @@ runs:
122123 uses : actions/checkout@v4
123124 with :
124125 repository : lkstrp/pypsa-validator
125- ref : ${{ github.event. repository.name }}
126+ ref : ${{ github.repository }}
126127 ssh-key : ${{ inputs.repo_private_key }}
127128
128129 - name : Upload relevant plots
@@ -151,7 +152,7 @@ runs:
151152 echo "Adding plots to repo branch"
152153 git add _validation-images
153154 git commit -m "[github-actions.ci] upload validation images to show in comment" || true # ignore if no changes
154- git push origin ${{ github.event. repository.name }}
155+ git push origin ${{ github.repository }}
155156 echo "COMMIT_ID=$(git rev-parse HEAD)" >> $GITHUB_OUTPUT
156157 shell : bash
157158
You can’t perform that action at this time.
0 commit comments