{"id":15826200,"url":"https://github.com/diberry/graphql-data-scrape-action","last_synced_at":"2025-04-01T09:50:34.666Z","repository":{"id":63954810,"uuid":"571618386","full_name":"diberry/graphql-data-scrape-action","owner":"diberry","description":null,"archived":false,"fork":false,"pushed_at":"2022-12-02T16:13:46.000Z","size":1192,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-03-14T13:42:19.843Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/diberry.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-11-28T14:19:14.000Z","updated_at":"2022-11-28T15:05:11.000Z","dependencies_parsed_at":"2023-01-14T16:30:21.028Z","dependency_job_id":null,"html_url":"https://github.com/diberry/graphql-data-scrape-action","commit_stats":{"total_commits":12,"total_committers":1,"mean_commits":12.0,"dds":0.0,"last_synced_commit":"91372d4ece06aca795b32cb522be8bee81d6aa76"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diberry%2Fgraphql-data-scrape-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diberry%2Fgraphql-data-scrape-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diberry%2Fgraphql-data-scrape-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diberry%2Fgraphql-data-scrape-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/diberry","download_url":"https://codeload.github.com/diberry/graphql-data-scrape-action/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246620267,"owners_count":20806721,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-05T09:43:44.422Z","updated_at":"2025-04-01T09:50:34.641Z","avatar_url":"https://github.com/diberry.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GraphQL query javascript action\r\n\r\nThis action runs a GraphQL query and returns the data as JSON.\r\n\r\n## Inputs\r\n\r\n### `bearer-token`\r\n\r\nThe bearer token used to access the GraphQL endpoint. If your endpoint doesn't require a bearer token, set the `bearer-token-override` input to true. **Generally required**\r\n\r\n### `bearer-token-override`\r\n\r\nSet to true if your GraphQL endpoint doesn't require a bearer token for authentication. **Default** is false. \r\n\r\n### `graphql-url`\r\n\r\nSet to GraphQL endpoint URL. **Default** is `https://api.github.com/graphql`.\r\n\r\n### `query`\r\n\r\nSet to GraphQL query. **Default** fetches all repositories for `Azure-Samples` org.\r\n\r\n### `query-variables`\r\n\r\nSet to GraphQL variables. \r\n\r\n### `github-graphql-default-org`\r\n\r\nSet to GitHub org to use default query with a different GitHub org. **Default** is `Azure-Samples`.\r\n\r\n\r\n## Outputs\r\n\r\n### `data`\r\n\r\nThe data requested is returned in JSON object.\r\n\r\n## Example usage - set bearer token\r\n\r\n```yaml\r\nuses: actions/graphql-data@v1.1\r\nwith:\r\n  bearer-token: 'PUT YOUR GITHUB PERSONAL ACCESS TOKEN HERE'\r\n```\r\n\r\n## Example usage - change GitHub org name\r\n\r\n```yaml\r\nuses: actions/graphql-data@v1.1\r\nwith:\r\n  bearer-token: 'PUT YOUR GITHUB PERSONAL ACCESS TOKEN HERE'\r\n  github-graphql-default-org: 'MicrosoftDocs'\r\n```\r\n\r\n## Example usage - query your own endpoint without authentication\r\n\r\n```yaml\r\nuses: actions/graphql-data@v1.1\r\nwith:\r\n  graphql-url: 'https://YOUR-DOMAIN.com/graphql'\r\n  bearer-token-override: true\r\n  query: `Query { whoami { name } }`\r\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiberry%2Fgraphql-data-scrape-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdiberry%2Fgraphql-data-scrape-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiberry%2Fgraphql-data-scrape-action/lists"}