Skip to content
Snippets Groups Projects
Commit 2b74230d authored by Julien Cristau's avatar Julien Cristau Committed by mergify[bot]
Browse files

Bug 1805629: fix chain of trust verification failure on pull requests

scriptworker's chain of trust verification expects a decision task's
MOBILE_HEAD_REPOSITORY to match the repository URL in metadata.source.
For pull requests that means we shouldn't set metadata.source to the
base repo.
parent dc20b734
No related branches found
No related tags found
No related merge requests found
......@@ -166,7 +166,7 @@ tasks:
metadata:
$merge:
- owner: "${ownerEmail}"
source: 'https://github.com/${repoFullName}/raw/${head_sha}/.taskcluster.yml'
source: '${repoUrl}/raw/${head_sha}/.taskcluster.yml'
- $if: 'isPullRequest || tasks_for == "github-push"'
then:
name: "Decision Task"
......
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