resolve issue with reference a branch on a github action

This commit is contained in:
Casey Lee
2019-01-15 09:05:27 -08:00
parent c668a410c3
commit 44e21b102e
2 changed files with 10 additions and 4 deletions

View File

@@ -73,6 +73,7 @@ func TestParseImageGithub(t *testing.T) {
{"nektos/act/foo", "https://github.com/nektos/act", "master", "foo", true},
{"nektos/act@xxxxx", "https://github.com/nektos/act", "xxxxx", ".", true},
{"nektos/act/bar/baz@zzzzz", "https://github.com/nektos/act", "zzzzz", "bar/baz", true},
{"assimovt/actions-github-deploy/github-deploy@deployment-status-metadata", "https://github.com/assimovt/actions-github-deploy", "deployment-status-metadata", "github-deploy", true},
{"nektos/zzzzundefinedzzzz", "", "", "", false},
}