Skip to content
Snippets Groups Projects
Commit c8abb1bb authored by Johan Lorenzo's avatar Johan Lorenzo
Browse files

Bug 1786780 - part 6: Use HTTP URL to define repoFullName in action tasks

parent 129ac83d
No related branches found
No related tags found
No related merge requests found
......@@ -29,13 +29,9 @@ tasks:
$if: 'tasks_for == "github-pull-request"'
then: '${event.pull_request.base.repo.full_name}'
else:
$if: 'tasks_for == "action"'
# Trim git@github.com:
then: '${repository.url[15:-4]}'
else:
$if: 'tasks_for == "cron"'
# Trim https://github.com/
then: '${repository.url[19:]}'
$if: 'tasks_for in ["cron", "action"]'
# Trim https://github.com/
then: '${repository.url[19:]}'
baseRepoUrl:
$if: 'tasks_for == "github-push"'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment