Skip to content

Commit e577c81

Browse files
authored
remote-copy.yml: Only allow Gadi remote-environment to push commits back (#23)
1 parent be92385 commit e577c81

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/remote-copy.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,8 @@ jobs:
254254
echo "paths=$(cat ${{ env.LOCAL_MANIFEST_FILE_LIST_PATH }})" >> $GITHUB_OUTPUT
255255
256256
- name: Commit Updated Manifests to ${{ github.repository }}
257+
# TODO: For future remote-environments, we would have to alter the structure of model-config-inputs to be demarcated by target at the root level. For now, only allow Gadi to commit.
258+
if: inputs.remote-environment == 'Gadi'
257259
env:
258260
RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
259261
run: |

0 commit comments

Comments
 (0)