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

This branch has not been deployed when running on pull_request #41

Open
wSedlacek opened this issue Dec 20, 2022 · 0 comments
Open

This branch has not been deployed when running on pull_request #41

wSedlacek opened this issue Dec 20, 2022 · 0 comments

Comments

@wSedlacek
Copy link

wSedlacek commented Dec 20, 2022

I am running into the deployments not showing up when trying to run on a pull_request

ref: context.ref,

The logs are coming up with a ref of refs/pull/1654/merge which I think is the issue.

  "sha": "43fcda52ad5bdc6c559ec6f534bda3af53e53c6c",
  "ref": "refs/pull/1654/merge",
  "payload": "{\"actor\":\"wSedlacek\",\"main_sha\":\"2ff68a6de2b4cb6cfb5c118fd19ee5d654c5924a\"}",
  "transient_environment": true,
  "production_environment": false,
  "performed_via_github_app": null

Screen Shot 2022-12-20 at 02 38 24

From reading the code there doesn't appear to be a way to configure this ref, however I believe I want it to be the github.head_ref || github.ref for them to show up correctly. This is just a hunch though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant