I'm looking for a configurable property in github, like a tag or a label, that meets the following requirements:
The use case is that for a particular branch for which a pull request has been generated, I would like a github action to be able to determine if a heroku deployment has already been done. I was thinking of attaching a label after a deployment has been completed, but as stated above, there doesn't seem to be a way for a workflow dispatch event to access properties associated with a pull request (unless I'm missing something).
I suppose one option that always exists is to set up some type of datastore outside of github where we would maintain the deployment status, but I was hoping to avoid the extra maintenance effort.
After further investigation, I couldn't find a construct that matched the requirements so we ended up setting up the external data store.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.