{"id":29419890,"url":"https://github.com/bytecodealliance/subscribe-to-label-action","last_synced_at":"2025-07-12T01:13:20.916Z","repository":{"id":42466785,"uuid":"246391531","full_name":"bytecodealliance/subscribe-to-label-action","owner":"bytecodealliance","description":"A GitHub action that allows users to subscribe to a label and automatically get @'d when the label is applied","archived":false,"fork":false,"pushed_at":"2023-07-18T21:44:01.000Z","size":734,"stargazers_count":12,"open_issues_count":3,"forks_count":6,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-06-30T14:48:39.463Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bytecodealliance.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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}},"created_at":"2020-03-10T19:39:06.000Z","updated_at":"2024-10-02T12:01:02.000Z","dependencies_parsed_at":"2024-06-18T22:49:10.947Z","dependency_job_id":"ec1b1538-1ccf-4d71-b2bc-484a4f265cc5","html_url":"https://github.com/bytecodealliance/subscribe-to-label-action","commit_stats":{"total_commits":50,"total_committers":6,"mean_commits":8.333333333333334,"dds":0.54,"last_synced_commit":"9e68790d276a3b51f9213170b32ad742d73fab2d"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":"actions/javascript-action","purl":"pkg:github/bytecodealliance/subscribe-to-label-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bytecodealliance%2Fsubscribe-to-label-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bytecodealliance%2Fsubscribe-to-label-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bytecodealliance%2Fsubscribe-to-label-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bytecodealliance%2Fsubscribe-to-label-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bytecodealliance","download_url":"https://codeload.github.com/bytecodealliance/subscribe-to-label-action/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bytecodealliance%2Fsubscribe-to-label-action/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264922908,"owners_count":23683705,"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":"2025-07-12T01:13:17.818Z","updated_at":"2025-07-12T01:13:20.901Z","avatar_url":"https://github.com/bytecodealliance.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Subscribe to Label Action\n\nAllows users to subscribe to a label and automatically get @'d when the label is\nadded to a pull request or issue.\n\n## Usage\n\nAdd a `.github/workflows/subscribe-to-label.yml` file to your repository:\n\n```yaml\nname: \"Subscribe to Label\"\non:\n  issues:\n    types: [\"labeled\"]\n  schedule:\n    # Run pull request triage every 5 minutes. Ideally, this would be on\n    # \"labeled\" types of pull request events, but that doesn't work if the pull\n    # request is from another fork. For example, see\n    # https://github.com/actions/labeler/issues/12\n    - cron: '*/5 * * * *'\njobs:\n  triage:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: bytecodealliance/subscribe-to-label-action@v1\n      with:\n        repo-token: \"${{ secrets.GITHUB_TOKEN }}\"\n```\n\nThen, configure which users or teams get @'d when for which labels in\n`.github/subscribe-to-label.json`:\n\n```json\n{\n    \"example_user_1\": [\"bug\", \"help wanted\"],\n    \"example_user_2\": [\"good first issue\"],\n    \"example_user_3\": [\"enhancement\"],\n    \"org/team_1\": [\"question\"]\n}\n```\n\n**Note**: When using the action to subscribe teams, you must use an account which is a member of the organization the team is in. The default `github-actions` bot does not have the permissions necessary to reference teams (see [this example](https://github.com/WordPress/openverse/issues/320)).\n\n## Contributing\n\nSee [`CONTRIBUTING.md`](./CONTRIBUTING.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbytecodealliance%2Fsubscribe-to-label-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbytecodealliance%2Fsubscribe-to-label-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbytecodealliance%2Fsubscribe-to-label-action/lists"}