in-toto / attestation

in-toto Attestation Framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Update run-go-tests.yml workflow to be triggered through other workflows

marcelamelara opened this issue · comments

The Go tests workflow should be triggered every time a change is made to the go/ directory tree. But it is currently only triggered at pushes to main or manually opened PRs that touch go/, but not the protos.yml workflow.

Cause: It seems like actions/checkout always sends the GITHUB_TOKEN unless told otherwise. Looks like we might have to configure the actions/checkout in run-go-tests.yml.

Originally posted by @marcelamelara in #261 (comment)

Interesting, I wasn't sure if this change must be made for actions/checkout in the make-protos.yml or in the tests config. I'll try and test this on a fork.

@adityasaky Some usage is described here: https://github.com/orgs/community/discussions/37103#discussioncomment-3964382

I believe this is saying that the yaml file should be edited.