Skip to content

chore: fix ci

chore: fix ci #4

name: x-copy-sb-foo

Check failure on line 1 in .github/workflows/x-sb-foo-copy.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/x-sb-foo-copy.yaml

Invalid workflow file

`pullrequest` is not a valid event name
description: CODE-GEN - Copybara workflow on SOT
on:
pullrequest:
jobs:
copybara:
if: github.actor != 'sudoblockbot'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Copybara
uses: olivr/[email protected]
with:
ssh_key: ${{ secrets.SB_BOT_SSH_KEY }}
access_token: ${{ secrets.SB_BOT_TOKEN }}
sot_repo: sudoblockio/mono-v2
destination_repo: sudoblockio/sb-foo
committer: sudoblockbot <[email protected]>
push_include: python/chains/sb-foo/**
pr_move: '||python/chains/sb-foo'
push_exclude: python/chains/sb-foo/.deploy/**