{"id":16998916,"url":"https://github.com/maxandersen/jbang-issuelabeler","last_synced_at":"2025-03-22T07:29:57.264Z","repository":{"id":65160836,"uuid":"241279153","full_name":"maxandersen/jbang-issuelabeler","owner":"maxandersen","description":"Simple java script that add tags to incoming issues based on regular or javax.el expression","archived":false,"fork":false,"pushed_at":"2020-07-28T06:51:37.000Z","size":46,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-27T02:17:51.477Z","etag":null,"topics":["github-action","java","jbang"],"latest_commit_sha":null,"homepage":"","language":"Java","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/maxandersen.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":"2020-02-18T05:20:00.000Z","updated_at":"2020-07-28T06:51:39.000Z","dependencies_parsed_at":"2023-01-05T05:02:56.383Z","dependency_job_id":null,"html_url":"https://github.com/maxandersen/jbang-issuelabeler","commit_stats":{"total_commits":22,"total_committers":1,"mean_commits":22.0,"dds":0.0,"last_synced_commit":"194a5c2c0591851df1e71dc802cd83e1a396b998"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxandersen%2Fjbang-issuelabeler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxandersen%2Fjbang-issuelabeler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxandersen%2Fjbang-issuelabeler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxandersen%2Fjbang-issuelabeler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maxandersen","download_url":"https://codeload.github.com/maxandersen/jbang-issuelabeler/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244924518,"owners_count":20532872,"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-action","java","jbang"],"created_at":"2024-10-14T04:06:30.777Z","updated_at":"2025-03-22T07:29:57.246Z","avatar_url":"https://github.com/maxandersen.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Issue labeler built with jbang\n\nThis container is a github action used to automatically label issues based on \ntitle and description content.\n\n[Source](https://github.com/maxandersen/jbang-issuelabeler)\n\n## Github Action\n\n### Inputs\n\n### Outputs\n\n### Example usage\n\n\nCONFIG defaults to be `.github/autolabeler.yml` which requires you to use checkout\nwhich can take unnecessary time thus recommendation is to pass a URL to CONFIG instead.\n\n```\non:\n    issues:\n        type: [opened]\n\njobs:\n    jbang:\n      runs-on: ubuntu-latest\n      name: A job to run jbang\n      steps:\n      - name: issuelabeler\n        uses: maxandersen/jbang-issuelabeler@master\n        env:\n          GITHUB_TOKEN: ${{ secrets.ISSUE_GITHUB_TOKEN }}\n          CONFIG: https://raw.githubusercontent.com/maxandersen/githubaction-testinggrounds/master/.github/autoissuelabeler.yml\n```\n\n\n### autolabeler.yml\n\nTo define what should be labelled create a file in `.github/autolabeler.yml`\n\n```\n- labels: [area/hibernate, need-review]\n  \n  expression: |\n              title_description.matches(\"(?is).*hibernate.*\") \n              and\n              !title_description.matches(\"(?is).*validator.*\") \n  addcomment: \"Validator are the bees knees!\"\n  notify:\n    - maxandersen\n    - gsmet\n    - sanne\n- labels: [bug]\n  title: \"^[bug] .*\"\n```\n\nEach item is a \"rule\" and the meaning of each attribute is as follows:\n\n| Attribute | Description | Exmample |\n|-----------|-------------|----------|\n|labels     | list of labels to add if match found | `[area/hibernate, triage]`\n|title      | Java regular expression to match against issue title. | `(?i).*qute.*` |\n|description | Java regular expression to match against issue description. Useful to use `(?si)` to activate matching across newlines and ignore casing. | `(?si).*qute.*`\n|expression | javax.el expression that should evaluate to a boolean. Can refer to `title`, `description`, `title_description` attributes. | `title.matches(\".*hibernate.*\") and !description.contains(\".*validator.*\")` |\n|addcomment | free-form text which will be added as a comment | `/cc @maxandersen please review` |\n|notify | array of usernames or groups to notify in a comment. If user created the issue he will not be notified. | `[maxandersen,sanne]` |","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxandersen%2Fjbang-issuelabeler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxandersen%2Fjbang-issuelabeler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxandersen%2Fjbang-issuelabeler/lists"}