{"id":21685981,"url":"https://github.com/ooliver1/triagecat","last_synced_at":"2025-04-12T08:16:44.083Z","repository":{"id":37920660,"uuid":"492162773","full_name":"ooliver1/triagecat","owner":"ooliver1","description":"GitHub action to automate managing repositories with labels, milestones and projects.","archived":false,"fork":false,"pushed_at":"2023-03-01T12:02:01.000Z","size":1659,"stargazers_count":6,"open_issues_count":6,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-12T08:16:37.702Z","etag":null,"topics":["actions","cats","github","github-actions","jest","management","project-management","triage","typescript","utility","workflow"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/ooliver1.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"ooliver1","custom":["https://paypal.me/tootybot"]}},"created_at":"2022-05-14T08:58:53.000Z","updated_at":"2022-06-14T21:29:52.000Z","dependencies_parsed_at":"2024-11-25T16:44:09.277Z","dependency_job_id":null,"html_url":"https://github.com/ooliver1/triagecat","commit_stats":{"total_commits":200,"total_committers":4,"mean_commits":50.0,"dds":0.495,"last_synced_commit":"fb712e645ab9a8853c8db75023c2fa730f637eb0"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ooliver1%2Ftriagecat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ooliver1%2Ftriagecat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ooliver1%2Ftriagecat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ooliver1%2Ftriagecat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ooliver1","download_url":"https://codeload.github.com/ooliver1/triagecat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248537193,"owners_count":21120711,"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":["actions","cats","github","github-actions","jest","management","project-management","triage","typescript","utility","workflow"],"created_at":"2024-11-25T16:27:10.750Z","updated_at":"2025-04-12T08:16:44.065Z","avatar_url":"https://github.com/ooliver1.png","language":"TypeScript","readme":"# triagecat\n\n[![Build and test](https://custom-icon-badges.herokuapp.com/github/workflow/status/ooliver1/triagecat/Build%20and%20test?logo=codescan-checkmark\u0026logoColor=white)](https://github.com/ooliver1/triagecat/actions/workflows/build.yml \"Build workflow\")\n[![Codecov coverage](https://custom-icon-badges.herokuapp.com/codecov/c/github/ooliver1/triagecat?logo=file-diff\u0026logoColor=white)](https://app.codecov.io/gh/ooliver1/triagecat \"Codecov coverage\")\n[![Distribution file size](https://custom-icon-badges.herokuapp.com/github/size/ooliver1/triagecat/dist/index.js?logo=file-code\u0026logoColor=white)](https://github.com/ooliver1/triagecat/blob/master/dist/index.js \"DIstribution file\")\n[![Lines of code](https://custom-icon-badges.herokuapp.com/tokei/lines/github/ooliver1/triagecat?logo=quote\u0026logoColor=white)](https://github.com/ooliver1/triagecat \"Repository\")\n[![Open issue count](https://custom-icon-badges.herokuapp.com/github/issues-raw/ooliver1/triagecat?logo=issue-opened\u0026logoColor=white)](https://github.com/ooliver1/triagecat/issues \"Open github issues\")\n[![Open pull requests](https://custom-icon-badges.herokuapp.com/github/issues-pr-raw/ooliver1/triagecat?logo=git-pull-request\u0026logoColor=white)](https://github.com/ooliver1/triagecat/pulls \"Open github pull requests\")\n[![License](https://custom-icon-badges.herokuapp.com/github/license/ooliver1/triagecat?logo=file-badge\u0026logoColor=white)](https://github.com/ooliver1/triagecat/blob/master/LICENSE \"License file\")\n[![Releases](https://custom-icon-badges.herokuapp.com/github/v/release/ooliver1/triagecat?display_name=tag\u0026include_prereleases\u0026sort=semver\u0026logo=commit\u0026logoColor=white)](https://github.com/ooliver1/triagecat/releases \"Triagecat releases\")\n\nGitHub action to automate managing repositories with labels, milestones and projects.\n\n- Link issues and PRs labels.\n- Add issues and PRs to a project board.\n- Mark issues and PRs based on state such as reviews.\n- Mark PRs based on what files they edit\n- Link milestone assignments to issues and PRs with labels.\n\n## How to use\n\n### Example action\n\n`PAT` is stored in `settings/secrets/actions` and is a [GitHub PAT](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token) with `write:org` acccess if you would like triagecat to manage a beta project board on your organisation.\nYou most likely also need `settings/actions` `Workflow permissions` to be set to `Read and write permissions` or set the [`permissions`](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions) block in the workflow.\n\n```yaml\non:\n  issues:\n    types: [opened, closed, labeled, unlabeled, milestoned, demilestoned]\n  pull_request_target:\n    types: [labeled, unlabeled, opened, closed, converted_to_draft, ready_for_review]\n  pull_request_review:\n    types: [submitted]\n  issue_comment:\n    types: [created]\n  workflow_dispatch:\n\njobs:\n  triagecat:\n    name: Example triagecat workflow\n    runs-on: ubuntu-latest\n    steps:\n      - uses: ooliver1/triagecat@master  # lock to version\n        with:\n          org-token: ${{ secrets.PAT }}\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n```\n\n## Contributing\n\n1. Fork the [repository](https://github.com/ooliver1/triagecat/fork)\n2. Clone the repository - `git clone https://github.com/username/triagecat`\n3. Change the directory name to the name of your fork - `git checkout -b username/feat/my-feature`\n4. Install dependencies - `pnpm install` (or `npm install` or `yarn install`)\n5. Build the project - `pnpm run build` (or `npm run build` or `yarn run build`)\n6. Run tests - `pnpm test` (or `npm test` or `yarn test`)\n7. Submit a [pull request](https://github.com/ooliver1/triagecat/compare)\n","funding_links":["https://github.com/sponsors/ooliver1","https://paypal.me/tootybot"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fooliver1%2Ftriagecat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fooliver1%2Ftriagecat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fooliver1%2Ftriagecat/lists"}