Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Getting error code 400 when calling circleci from github actions #66

Open
1 task done
fsintegrations opened this issue Oct 5, 2023 · 0 comments
Open
1 task done
Labels
bug Something isn't working

Comments

@fsintegrations
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

On release publish we are triggering circleci from github actions, But sometime we are getting error code 400 when calling circleci from github actions, this is occurring randomly not every time,
After recreating the release it works fine.

This is happening because we are getting Triggering branch as empty string even though we trigger this github action on release publish, After republishing the release we are getting Triggering tag with tag value and works as expected.

Please refer to the screenshot- On the right side the job failed when release published Triggering branch is empty
On the left side job passed after recreating the release and published, we are getting Triggering tag with the actual tag value
screenshot1

We are using CircleCI-Public/trigger-circleci-pipeline-action@v1.0.5 to trigger circleci from github actions

Minimum reproduction code

https://github.com/fundingasiagroup/indo-banking-service/blob/master/.github/workflows/release.yml

Steps to reproduce

When the release is published github actions are not triggered facing error code 400
https://github.com/fundingasiagroup/indo-banking-service/actions/runs/6389570633/job/17341892137

Expected behavior

Github action should trigger circleci job always as expected

GitHub Action Version

1.0.5

Other

No response

@fsintegrations fsintegrations added the bug Something isn't working label Oct 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant