tl-its-umich-edu/my-learning-analytics

For Github actions/registry get the Repo values from environment

Closed this issue · 1 comments

From the #1523 one thing that is noticed that github action get trigged even on forked repo. The actions workflow is written to push to tl-its-umich-edu/my-learning-analytics and the build might be successful but the push will fail and giving an alert each time.

denied: permission_denied: The requested installation does not exist.

This is recorded here https://github.com/pushyamig/my-learning-analytics/actions/runs/5978168974/job/16219869585

Verified Actions runs are skipped on forks. We may want to have some kind of "else" cases in here but it looks like a good pattern and things are working as expected.

image