From 1d7a00c2e19d90a0b1e85cf1170397ccd06b664d Mon Sep 17 00:00:00 2001 From: edgar sarkisian Date: Tue, 26 Nov 2024 15:48:14 -0500 Subject: [PATCH] fix GHA wf --- .github/workflows/copybara.yaml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/copybara.yaml b/.github/workflows/copybara.yaml index 4bb3fa0..5eae4ab 100644 --- a/.github/workflows/copybara.yaml +++ b/.github/workflows/copybara.yaml @@ -30,9 +30,13 @@ jobs: - name: Run Copybara # run copybara and pass in the credentials files - run: | + run: | docker run \ -v "$(pwd)":/usr/src/app \ - -v $HOME/copybara_ssh_key:/root/.ssh/id_rsa \ - -v $HOME/copybara_pat:/root/.git-credentials \ - copybara copy.bara.sky default ${{ github.event.number }} --force --init-history \ No newline at end of file + -v $HOME/.ssh/switchboard-sdk:/root/.ssh/id_rsa \ + -v $HOME/switchboard/copybara_pat.txt:/root/.git-credentials \ + olivr/copybara copy.bara.sky default 2 \ + --force \ + --init-history \ + --git-committer-email "actions@github.com" \ + --git-committer-name "Github Actions" \ No newline at end of file