{"id":13484947,"url":"https://github.com/z0al/dependent-issues","last_synced_at":"2025-03-27T16:31:37.510Z","repository":{"id":37820690,"uuid":"315887322","full_name":"z0al/dependent-issues","owner":"z0al","description":"📦 A GitHub Action for marking issues as dependent on another","archived":true,"fork":false,"pushed_at":"2023-09-26T20:30:05.000Z","size":2535,"stargazers_count":163,"open_issues_count":13,"forks_count":12,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-23T10:42:16.598Z","etag":null,"topics":["actions","dependency","github","issues","label"],"latest_commit_sha":null,"homepage":"https://github.com/marketplace/actions/dependent-issues","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/z0al.png","metadata":{"files":{"readme":"README.md","changelog":null,"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}},"created_at":"2020-11-25T09:18:41.000Z","updated_at":"2025-02-20T03:17:44.000Z","dependencies_parsed_at":"2024-01-13T19:19:42.128Z","dependency_job_id":"235ccc9f-49bf-4245-a5c6-5582b7813a98","html_url":"https://github.com/z0al/dependent-issues","commit_stats":{"total_commits":441,"total_committers":7,"mean_commits":63.0,"dds":"0.16326530612244894","last_synced_commit":"950226e7ca8fc43dc209a7febf67c655af3bdb43"},"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z0al%2Fdependent-issues","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z0al%2Fdependent-issues/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z0al%2Fdependent-issues/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z0al%2Fdependent-issues/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/z0al","download_url":"https://codeload.github.com/z0al/dependent-issues/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245882461,"owners_count":20687893,"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","dependency","github","issues","label"],"created_at":"2024-07-31T17:01:39.909Z","updated_at":"2025-03-27T16:31:37.009Z","avatar_url":"https://github.com/z0al.png","language":"TypeScript","readme":"# Dependent Issues\n\n\u003e A GitHub Action for marking issues as dependent on another\n\nIt works with PRs and issues and supports cross-repository dependencies.\n\n## Usage\n\nCreate `.github/workflows/dependent-issues.yml` with the following content:\n\n```yaml\nname: Dependent Issues\n\non:\n  issues:\n    types:\n      - opened\n      - edited\n      - closed\n      - reopened\n  pull_request_target:\n    types:\n      - opened\n      - edited\n      - closed\n      - reopened\n      # Makes sure we always add status check for PRs. Useful only if\n      # this action is required to pass before merging. Otherwise, it\n      # can be removed.\n      - synchronize\n\n  # Schedule a daily check. Useful if you reference cross-repository\n  # issues or pull requests. Otherwise, it can be removed.\n  schedule:\n    - cron: '0 0 * * *'\n\njobs:\n  check:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: z0al/dependent-issues@v1\n        env:\n          # (Required) The token to use to make API calls to GitHub.\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          # (Optional) The token to use to make API calls to GitHub for remote repos.\n          GITHUB_READ_TOKEN: ${{ secrets.GITHUB_READ_TOKEN }}\n\n        with:\n          # (Optional) The label to use to mark dependent issues\n          label: dependent\n\n          # (Optional) Enable checking for dependencies in issues.\n          # Enable by setting the value to \"on\". Default \"off\"\n          check_issues: off\n\n          # (Optional) Ignore dependabot PRs.\n          # Enable by setting the value to \"on\". Default \"off\"\n          ignore_dependabot: off\n\n          # (Optional) A comma-separated list of keywords. Default\n          # \"depends on, blocked by\"\n          keywords: depends on, blocked by\n\n          # (Optional) A custom comment body. It supports `{{ dependencies }}` token.\n          comment: \u003e\n            This PR/issue depends on:\n\n            {{ dependencies }}\n\n            By **[Dependent Issues](https://github.com/z0al/dependent-issues)** (🤖). Happy coding!\n```\n\nHere how it can look like in practice:\n\n![example](./demo.png)\n\n## Inputs\n\n- **label** (Optional): The label to use to mark dependent issues. Default `dependent`.\n- **check_issues** (Optional): Enable checking for dependencies in issues. Enable by setting the value to `on`. Default `off`.\n- **ignore_dependabot** (Optional): Ignore dependabot PRs. Enable by setting the value to `on`. Default `off`. Use this if you run the action on `pull_request` rather than `pull_request_target`.\n- **keywords** (Optional): A comma-separated list of keywords. Default `depends on, blocked by`.\n- **comment** (Optional): A custom comment body. It supports `{{ dependencies }}` token.\n\n## Environment variables\n\n- **GITHUB_TOKEN** (Required): The token to use to make API calls to GitHub.\n\n## FAQ\n\nTrouble setting up the action? Check the [FAQ](./FAQ.md).\n\n## Credits\n\nSpecial thanks to [Jason Etcovitch](https://github.com/JasonEtco) for the original bot idea.\n\n## License\n\nMIT © [Ahmed T. Ali](https://github.com/z0al)\n\n[dependabot-change]: https://github.blog/changelog/2021-02-19-github-actions-workflows-triggered-by-dependabot-prs-will-run-with-read-only-permissions/\n","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fz0al%2Fdependent-issues","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fz0al%2Fdependent-issues","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fz0al%2Fdependent-issues/lists"}