{"id":20696813,"url":"https://github.com/actionsdesk/ghec-invitations-report-action","last_synced_at":"2025-04-22T20:43:33.196Z","repository":{"id":38846604,"uuid":"292791319","full_name":"ActionsDesk/ghec-invitations-report-action","owner":"ActionsDesk","description":"GitHub Action to create a report of GitHub Enterprise Cloud invitations","archived":false,"fork":false,"pushed_at":"2025-04-02T09:26:05.000Z","size":2218,"stargazers_count":4,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-22T10:20:46.466Z","etag":null,"topics":["github-enterprise-cloud","reinvite-users","reporting"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ActionsDesk.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":".github/contributing.md","funding":null,"license":"license","code_of_conduct":".github/code_of_conduct.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/codeowners","security":".github/security.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-09-04T08:18:13.000Z","updated_at":"2025-04-02T08:52:01.000Z","dependencies_parsed_at":"2025-01-22T15:18:51.366Z","dependency_job_id":"e2058517-ef68-448b-9d36-3bfb20174f64","html_url":"https://github.com/ActionsDesk/ghec-invitations-report-action","commit_stats":{"total_commits":149,"total_committers":4,"mean_commits":37.25,"dds":"0.32885906040268453","last_synced_commit":"940d4b011b4fb5f6a90014812c6c0f28dacc98b0"},"previous_names":[],"tags_count":22,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ActionsDesk%2Fghec-invitations-report-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ActionsDesk%2Fghec-invitations-report-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ActionsDesk%2Fghec-invitations-report-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ActionsDesk%2Fghec-invitations-report-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ActionsDesk","download_url":"https://codeload.github.com/ActionsDesk/ghec-invitations-report-action/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250321205,"owners_count":21411524,"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":["github-enterprise-cloud","reinvite-users","reporting"],"created_at":"2024-11-17T00:15:25.759Z","updated_at":"2025-04-22T20:43:33.179Z","avatar_url":"https://github.com/ActionsDesk.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ghec-invitations-report-action\n\n\u003e GitHub Action to create a report of GitHub Enterprise Cloud invitations\n\n[![test](https://github.com/ActionsDesk/ghec-invitations-report-action/actions/workflows/test.yml/badge.svg)](https://github.com/ActionsDesk/ghec-invitations-report-action/actions/workflows/test.yml) [![codeql](https://github.com/ActionsDesk/ghec-invitations-report-action/actions/workflows/codeql.yml/badge.svg)](https://github.com/ActionsDesk/ghec-invitations-report-action/actions/workflows/codeql.yml) [![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg)](https://github.com/prettier/prettier)\n\n## Usage\n\n**Scheduled report example**\n\n```yml\non:\n  schedule:\n    # Runs at 00:00 UTC on the first of every month\n    - cron: '0 0 1 * *'\n\nname: Scheduled invitations report\n\njobs:\n  report:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Create invitations report\n        uses: ActionsDesk/ghec-invitations-report-action@v3.0.0\n        with:\n          token: ${{ secrets.ADMIN_TOKEN }}\n          enterprise: 'my-enterprise'\n          report_path: 'reports/enterprise-invitations.csv'\n```\n\n\u003cdetails\u003e\n  \u003csummary\u003e\u003cstrong\u003eOn-demand report example\u003c/strong\u003e\u003c/summary\u003e\n\n```yml\non:\n  workflow_dispatch:\n    inputs:\n      enterprise:\n        description: 'GitHub Enterprise Cloud account, if omitted the report will target the repository organization only'\n        required: false\n        default: 'my-enterprise'\n      report_path:\n        description: 'Path to the report file'\n        default: 'reports/invitations.csv'\n        required: false\n\nname: Invitations\n\njobs:\n  report:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Create invitations report\n        uses: ActionsDesk/ghec-invitations-report-action@v3.0.0\n        with:\n          token: ${{ secrets.ADMIN_TOKEN }}\n          enterprise: ${{ github.event.inputs.enterprise }}\n          report_path: ${{ github.event.inputs.report_path }}\n```\n\n\u003c/details\u003e\n\n### Action Inputs\n\n| Name          | Description                                                                                                                               | Default                 | Required |\n| :------------ | :---------------------------------------------------------------------------------------------------------------------------------------- | :---------------------- | :------- |\n| `token`       | A `admin:org`, `read:user`, `repo`, `user:email` scoped [PAT]                                                                             |                         | `true`   |\n| `report_path` | Path within the repository to create the report CSV file                                                                                  | `invitation-report.csv` | `false`  |\n| `enterprise`  | GitHub Enterprise Cloud account, will require `admin:org`, `read:enterprise`, `read:user`, `repo`, `user:email` scoped [PAT] for `token`. |                         | `false`  |\n\nNote: If the `enterprise` input is omitted, the report will only be created for the organization the repository belongs to.\n\n### Action Outputs\n\n| Name       | Description                                                                            |\n| :--------- | :------------------------------------------------------------------------------------- |\n| `base_sha` | Report base SHA, needed for https://github.com/ActionsDesk/ghec-report-reinvite-action |\n| `head_sha` | Report head SHA, needed for https://github.com/ActionsDesk/ghec-report-reinvite-action |\n\n## License\n\n- [MIT License](./license)\n\n[pat]: https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token 'Personal Access Token'\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Factionsdesk%2Fghec-invitations-report-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Factionsdesk%2Fghec-invitations-report-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Factionsdesk%2Fghec-invitations-report-action/lists"}