-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Bug 1553096 - Do not put Treeherder route when on untrusted repo #2921
Conversation
Please do not land before https://bugzilla.mozilla.org/show_bug.cgi?id=1553096#c8 is responded |
@JohanLorenzo Is this safe to land or should we close it? |
4868fd7
to
753b6ff
Compare
Thanks for digging this PR up @sblatz, it had slipped my mind! r? @mitchhentges |
.taskcluster.yml
Outdated
- statuses # Automatically added by taskcluster-github. It must be explicit because of Chain of Trust | ||
- $if: 'trust_level == 3' | ||
then: | ||
- tc-treeherder.v2.fenix.${head_rev} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that this is indented too far
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm sorry, I'm not sure to follow this sentence. Would you mind expanding on it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure - I think there's a formatting issue, where this line is 2 spaces too far.
Right now, it looks like:
routes:
$flatten:
- statuses # Automatically added by taskcluster-github. It must be explicit because of Chain of Trust
- $if: 'trust_level == 3'
then:
- tc-treeherder.v2.fenix.${head_rev}
else: []
and it should look like
routes:
$flatten:
- statuses # Automatically added by taskcluster-github. It must be explicit because of Chain of Trust
- $if: 'trust_level == 3'
then:
- tc-treeherder.v2.fenix.${head_rev}
else: []
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
facepalms My apologies, I kept reading "intended too far", instead of "indented too far". Thanks for catching it, and for the thorough explanations. Fixed
753b6ff
to
ee7d4a3
Compare
Fixes https://bugzilla.mozilla.org/show_bug.cgi?id=1553096#c6
Pull Request checklist