diff --git a/.taskcluster.yml b/.taskcluster.yml index de7bcccb..09c55abd 100644 --- a/.taskcluster.yml +++ b/.taskcluster.yml @@ -34,7 +34,7 @@ tasks: project: $switch: 'tasks_for in ["github-push", "github-release"]': '${event.repository.name}' - 'tasks_for[:19] == "github-pull-request"': '${event.pull_request.head.repo.name}' + 'tasks_for[:19] == "github-pull-request"': '${event.pull_request.base.repo.name}' 'tasks_for in ["cron", "action", "pr-action"]': '${repository.project}' head_branch: $switch: diff --git a/template/{{cookiecutter.project_name}}/taskcluster.github.yml b/template/{{cookiecutter.project_name}}/taskcluster.github.yml index 1eb29777..3076f953 100644 --- a/template/{{cookiecutter.project_name}}/taskcluster.github.yml +++ b/template/{{cookiecutter.project_name}}/taskcluster.github.yml @@ -32,7 +32,7 @@ tasks: project: $switch: 'tasks_for in ["github-push", "github-release"]': '${event.repository.name}' - 'tasks_for[:19] == "github-pull-request"': '${event.pull_request.head.repo.name}' + 'tasks_for[:19] == "github-pull-request"': '${event.pull_request.base.repo.name}' 'tasks_for in ["cron", "action", "pr-action"]': '${repository.project}' head_branch: $switch: