Skip to content

Commit

Permalink
fix GHA wf
Browse files Browse the repository at this point in the history
  • Loading branch information
gesarki committed Nov 26, 2024
1 parent 4908660 commit 1d7a00c
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/copybara.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
-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 "[email protected]" \
--git-committer-name "Github Actions"

0 comments on commit 1d7a00c

Please sign in to comment.