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: ...@@ -29,13 +29,9 @@ tasks:
$if: 'tasks_for == "github-pull-request"' $if: 'tasks_for == "github-pull-request"'
then: '${event.pull_request.base.repo.full_name}' then: '${event.pull_request.base.repo.full_name}'
else: else:
$if: 'tasks_for == "action"' $if: 'tasks_for in ["cron", "action"]'
# Trim git@github.com: # Trim https://github.com/
then: '${repository.url[15:-4]}' then: '${repository.url[19:]}'
else:
$if: 'tasks_for == "cron"'
# Trim https://github.com/
then: '${repository.url[19:]}'
baseRepoUrl: baseRepoUrl:
$if: 'tasks_for == "github-push"' $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