Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(plugins/notable): fails when org uses SAML #1371

Open
lowlighter opened this issue Jan 29, 2023 Discussed in #1362 · 1 comment
Open

fix(plugins/notable): fails when org uses SAML #1371

lowlighter opened this issue Jan 29, 2023 Discussed in #1362 · 1 comment

Comments

@lowlighter
Copy link
Owner

Discussed in #1362

Originally posted by jayvdb January 17, 2023
I would rather not give my metrics token SAML approval. Can an org be skipped somehow?

  metrics/compute/jayvdb/plugins > notable > completed (error)
  {
    name: 'notable',
    result: {
      error: {
        message: 'Unexpected error',
        instance: GraphqlResponseError: Request failed due to following response errors:
         - Resource protected by organization SAML enforcement. You must grant your Personal Access token access to this organization.
            at /metrics/node_modules/@octokit/graphql/dist-node/index.js:70:13
            at runMicrotasks (<anonymous>)
            at processTicksAndRejections (node:internal/process/task_queues:96:5)
            at async Object.default [as notable] (file:///metrics/source/plugins/notable/index.mjs:20:62)
            at async file:///metrics/source/plugins/core/index.mjs:67:30
            at async Promise.all (index 0)
            at async metrics (file:///metrics/source/app/metrics/index.mjs:81:22)
            at async retry.retries.retries (file:///metrics/source/app/action/index.mjs:407:40)
            at async retry (file:///metrics/source/app/action/index.mjs:57:22)
            at async file:///metrics/source/app/action/index.mjs:406:28 {
          request: {
            query: 'query NotableContributions {\n' +
              '  user(login: "jayvdb") {\n' +
              '    repositoriesContributedTo(after: "Y3Vyc29yOnYyOpICzgktIp4=" first: 5, contributionTypes: [COMMIT, ISSUE, PULL_REQUEST], includeUserRepositories: false, orderBy: { field: STARGAZERS, direction: DESC'... 482 more characters
          },
```</div>
@scarf005
Copy link

scarf005 commented Jan 5, 2024

Hi, i'm interested in opening a PR (totally not because my workflow failed). May I get a pointer on where to look at, and preferred solution?

also, should i open a PR on v4-dev or main?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants