Skip to content

Commit f571759

Browse files
committed
Update GitHub Actions workflow to trigger GitLab pipeline with specific remote ref variable for enhanced flexibility
1 parent ea0abbb commit f571759

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/buf-push.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ jobs:
2020
breaking: ${{ github.event_name == 'push' }}
2121
- uses: enflo/curl-action@master
2222
with:
23-
curl: -X POST --fail -F token=${{ secrets.GITLAB_TRIGGER_TOKEN }} -F ref=${{ github.ref }} https://git.tcncloud.net/api/v4/projects/2193/trigger/pipeline
23+
curl: -X POST --fail -F token=${{ secrets.GITLAB_TRIGGER_TOKEN }} -F ref=master -F "variables[REMOTE_REF]=${{ github.ref }}" https://git.tcncloud.net/api/v4/projects/2193/trigger/pipeline
2424

0 commit comments

Comments
 (0)