Skip to content

Commit

Permalink
Update .taskcluster.yml
Browse files Browse the repository at this point in the history
set github-pull-request policy to public_restricted
  • Loading branch information
gabrielBusta authored Nov 21, 2023
1 parent c23224f commit 14c1465
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .taskcluster.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
version: 1
reporting: checks-v1
policy:
pullRequests: public
pullRequests: public_restricted
tasks:
- $let:
trustDomain: "mozilla"
Expand Down

1 comment on commit 14c1465

@firefoxci-taskcluster
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Uh oh! Looks like an error! Details

Taskcluster-GitHub attempted to create a task for this event with the following scopes:

["assume:repo:github.com/mozilla-releng/mozilla-linux-pkg-manager:branch:main","queue:route:checks","queue:scheduler-id:taskcluster-github"]

The expansion of these scopes is not sufficient to create the task, leading to the following:

Client ID static/taskcluster/github does not have sufficient scopes and is missing the following scopes:

{
  "AllOf": [
    "queue:route:index.mozilla.v2.mozilla-linux-pkg-manager.latest.taskgraph.decision",
    "queue:route:index.mozilla.v2.mozilla-linux-pkg-manager.revision.14c14652a3555861f1275b06c22b1948237c1041.taskgraph.decision",
    "queue:scheduler-id:mozilla-level-1",
    {
      "AnyOf": [
        "queue:create-task:highest:mozilla-1/decision-gcp",
        "queue:create-task:very-high:mozilla-1/decision-gcp",
        "queue:create-task:high:mozilla-1/decision-gcp",
        "queue:create-task:medium:mozilla-1/decision-gcp",
        "queue:create-task:low:mozilla-1/decision-gcp",
        "queue:create-task:very-low:mozilla-1/decision-gcp"
      ]
    }
  ]
}

This request requires the client to satisfy the following scope expression:

{
  "AllOf": [
    "assume:repo:github.com/mozilla-releng/mozilla-linux-pkg-manager:branch:main",
    "queue:route:checks",
    "queue:route:index.mozilla.v2.mozilla-linux-pkg-manager.latest.taskgraph.decision",
    "queue:route:index.mozilla.v2.mozilla-linux-pkg-manager.revision.14c14652a3555861f1275b06c22b1948237c1041.taskgraph.decision",
    "queue:create-task:project:none",
    "queue:scheduler-id:mozilla-level-1",
    {
      "AnyOf": [
        "queue:create-task:highest:mozilla-1/decision-gcp",
        "queue:create-task:very-high:mozilla-1/decision-gcp",
        "queue:create-task:high:mozilla-1/decision-gcp",
        "queue:create-task:medium:mozilla-1/decision-gcp",
        "queue:create-task:low:mozilla-1/decision-gcp",
        "queue:create-task:very-low:mozilla-1/decision-gcp"
      ]
    }
  ]
}

  • method: createTask
  • errorCode: InsufficientScopes
  • statusCode: 403
  • time: 2023-11-21T18:35:45.299Z

Please sign in to comment.