Skip to content

Commit d91aad7

Browse files
committed
Add GitHub Actions workflow to trigger GitLab pipeline on push events
1 parent ee9dd85 commit d91aad7

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

.github/workflows/buf-push.yaml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,14 @@ jobs:
1717
token: ${{ secrets.BUF_TOKEN }}
1818
# lint: ${{ github.event_name == 'push' }}
1919
format: ${{ github.event_name == 'push' }}
20-
# breaking: ${{ github.event_name == 'push' }}
21-
# breaking_against: ${{ github.event.repository.clone_url }}#format=git,commit=${{ github.event.pull_request.base.sha }}
20+
breaking: ${{ github.event_name == 'push' }}
21+
gitlab-trigger:
22+
runs-on: ubuntu-latest
23+
steps:
24+
- uses: digital-blueprint/gitlab-pipeline-trigger-action@v1
25+
with:
26+
host: git.tcncloud.net
27+
id: 2193
28+
trigger_token: ${{ secrets.GITLAB_TRIGGER_TOKEN}}
29+
ref: ${{ github.ref }}
30+

0 commit comments

Comments
 (0)