devth / helm-docker

☸️ helm, gcloud, kubectl, jq + other goodies
https://hub.docker.com/r/devth/helm/
47 stars 39 forks source link

Use actions/checkout@v3 token for git push to trigger other actions #180

Closed houstonj1 closed 1 year ago

houstonj1 commented 1 year ago

@devth I think this will configure git correctly on checkout, so we can push 🀞

devth commented 1 year ago

πŸ€” https://github.com/devth/helm-docker/actions/runs/4865123952/jobs/8675029542

houstonj1 commented 1 year ago

@devth I found this - https://github.com/actions/checkout/issues/664#issuecomment-1152342086

Mind checking if that PAT has an expire date set? Other than that, we can try adding the specific repo to checkout and the branch to the checkout action config

devth commented 1 year ago

Nope, it doesn't have an expiration date!

houstonj1 commented 1 year ago

Kinda lame it needs one but, I guess that is good for security

devth commented 1 year ago

Let me provision a new one with exp date.

devth commented 1 year ago

Ok, new one is set. Expires in a year. It has read/write for commits on this repo.

houstonj1 commented 1 year ago

πŸŽ‰ It worked, but we didn't get the tag with it.... Something to look at next

devth commented 1 year ago

Amazing! Thanks for fixing it.

Hope it can auto close the github issue too at some point. I think that was working at some point? We'll see with the next release I guess!