{"id":16761478,"url":"https://github.com/gustavofreze/auto-assign","last_synced_at":"2026-01-22T08:17:53.125Z","repository":{"id":181861549,"uuid":"666890720","full_name":"gustavofreze/auto-assign","owner":"gustavofreze","description":"GitHub action that automatically assigns issues and pull requests to specified assignees.","archived":false,"fork":false,"pushed_at":"2025-12-23T06:34:49.000Z","size":46,"stargazers_count":13,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-24T20:06:33.358Z","etag":null,"topics":["actions","auto-assign","brasil","github-actions","issues","open-source","project-management","pull-requests","python","utilities"],"latest_commit_sha":null,"homepage":"","language":"Python","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/gustavofreze.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-07-15T23:48:01.000Z","updated_at":"2025-12-23T06:34:52.000Z","dependencies_parsed_at":"2025-02-17T18:47:30.034Z","dependency_job_id":null,"html_url":"https://github.com/gustavofreze/auto-assign","commit_stats":{"total_commits":4,"total_committers":1,"mean_commits":4.0,"dds":0.0,"last_synced_commit":"25359cf1689e387b0298bbe69ad5b0a6f9cdb97e"},"previous_names":["gustavofreze/auto-assign"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/gustavofreze/auto-assign","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gustavofreze%2Fauto-assign","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gustavofreze%2Fauto-assign/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gustavofreze%2Fauto-assign/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gustavofreze%2Fauto-assign/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gustavofreze","download_url":"https://codeload.github.com/gustavofreze/auto-assign/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gustavofreze%2Fauto-assign/sbom","scorecard":{"id":450087,"data":{"date":"2025-08-11","repo":{"name":"github.com/gustavofreze/auto-assign","commit":"9f0336b1a26a1360fe6d450fafa523a8440b3c37"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":5.3,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 0/10 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":9,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/auto-assign.yml:1","Info: topLevel 'contents' permission set to 'read': .github/workflows/ci.yml:7","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: third-party GitHubAction not pinned by hash: .github/workflows/auto-assign.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/gustavofreze/auto-assign/auto-assign.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/gustavofreze/auto-assign/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/gustavofreze/auto-assign/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/gustavofreze/auto-assign/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:47: update your workflow using https://app.stepsecurity.io/secureworkflow/gustavofreze/auto-assign/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:50: update your workflow using https://app.stepsecurity.io/secureworkflow/gustavofreze/auto-assign/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:55: update your workflow using https://app.stepsecurity.io/secureworkflow/gustavofreze/auto-assign/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:69: update your workflow using https://app.stepsecurity.io/secureworkflow/gustavofreze/auto-assign/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:72: update your workflow using https://app.stepsecurity.io/secureworkflow/gustavofreze/auto-assign/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:77: update your workflow using https://app.stepsecurity.io/secureworkflow/gustavofreze/auto-assign/ci.yml/main?enable=pin","Warn: containerImage not pinned by hash: Dockerfile:1: pin your Docker image by updating python:3.11-alpine to python:3.11-alpine@sha256:8d8c6d3808243160605925c2a7ab2dc5c72d0e75651699b0639143613e0855b8","Warn: pipCommand not pinned by hash: Dockerfile:14-16","Warn: pipCommand not pinned by hash: .github/workflows/ci.yml:27","Info:   0 out of   9 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned","Info:   0 out of   1 containerImage dependencies pinned","Info:   0 out of   2 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"SAST","score":8,"reason":"SAST tool is not run on all commits -- score normalized to 8","details":["Warn: 5 commits out of 6 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-19T07:59:13.657Z","repository_id":181861549,"created_at":"2025-08-19T07:59:13.657Z","updated_at":"2025-08-19T07:59:13.657Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28659513,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T01:17:37.254Z","status":"online","status_checked_at":"2026-01-22T02:00:07.137Z","response_time":144,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","auto-assign","brasil","github-actions","issues","open-source","project-management","pull-requests","python","utilities"],"created_at":"2024-10-13T04:42:43.093Z","updated_at":"2026-01-22T08:17:53.118Z","avatar_url":"https://github.com/gustavofreze.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Auto assign\n\n[![License](https://img.shields.io/badge/license-MIT-green)](LICENSE)\n\n* [Overview](#overview)\n* [How to use](#how-to-use)\n* [License](#license)\n* [Contributing](#contributing)\n\n\u003cdiv id='overview'\u003e\u003c/div\u003e \n\n## Overview\n\nGitHub action that automatically assigns issues and pull requests to specified assignees.\n\n\u003cdiv id='how-to-use'\u003e\u003c/div\u003e\n\n## How to use\n\nBefore configuring your `.yml` file, let's understand the configuration parameters.\n\n| Parameter            |  Type   | Required | Default | Description                                                                                                                | \n|:---------------------|:-------:|:--------:|:-------:|----------------------------------------------------------------------------------------------------------------------------|\n| `assignees`          | string  |   Yes    |   N/A   | Comma-separated list of usernames. Assignments will be made to them.                                                       |\n| `github_token`       | string  |   Yes    |   N/A   | GitHub app installation [access token](https://docs.github.com/en/actions/security-guides/automatic-token-authentication). |\n| `allow_self_assign`  | boolean |    No    |  True   | Flag that allows self-assignment to an issue or pull request.                                                              |\n| `allow_no_assignees` | boolean |    No    |  False  | Flag that prevents the action from failing when there are no assignees.                                                    |\n| `assignment_options` | string  |    No    |  ISSUE  | Assignment options in a GitHub action related to automatically assigning issues and pull requests.                         |\n\nBy default, write permission allows the GitHub action only to create and edit issues in **public repositories**.\nYou must use admin permission or a more restricted setting for **private repositories**.\nYou can generate a personal access token with the required scopes.\n\n### Working only with issues\n\nExample of how to configure your `.yml` file to auto-assign users only for **issues**.\n\n```yml\nname: Auto assign issues\n\non:\n  issues:\n    types:\n      - opened\n\njobs:\n  run:\n    runs-on: ubuntu-latest\n    permissions:\n      issues: write\n    steps:\n      - name: Assign issues\n        uses: gustavofreze/auto-assign@x.y.z\n        with:\n          assignees: 'user1,user2'\n          github_token: '${{ secrets.GITHUB_TOKEN }}'\n          assignment_options: 'ISSUE'\n```\n\n### Working only with pull request\n\nExample of how to configure your `.yml` file to auto-assign users only for **pull requests**.\n\n```yml\nname: Auto assign pull requests\n\non:\n  pull_request:\n    types:\n      - opened\n\njobs:\n  run:\n    runs-on: ubuntu-latest\n    permissions:\n      pull-requests: write\n    steps:\n      - name: Assign pull requests\n        uses: gustavofreze/auto-assign@x.y.z\n        with:\n          assignees: 'user1,user2'\n          github_token: '${{ secrets.GITHUB_TOKEN }}'\n          assignment_options: 'PULL_REQUEST'\n```\n\n### Working with issues and pull requests\n\nExample of how to configure your `.yml` file to auto-assign users for **issues** and **pull requests**.\n\n```yml\nname: Auto assign issues and pull requests\n\non:\n  issues:\n    types:\n      - opened\n  pull_request:\n    types:\n      - opened\n\njobs:\n  run:\n    runs-on: ubuntu-latest\n    permissions:\n      issues: write\n      pull-requests: write\n    steps:\n      - name: Assign issues and pull requests\n        uses: gustavofreze/auto-assign@x.y.z\n        with:\n          assignees: 'user1,user2'\n          github_token: '${{ secrets.GITHUB_TOKEN }}'\n          assignment_options: 'ISSUE,PULL_REQUEST'\n```\n\n### Working with issues and pull requests in a non-restrictive way\n\nExample of configuring your `.yml` file to automatically assign users for **issues** and **pull requests**.\n\nThe difference in approach consists of the following:\n\n- If the only assignable user were the one who started the workflow, it would be assigned.\n- No items will be assigned if users are not assignable, including those who started the workflow.\n  However, no error will occur.\n\n```yml\nname: Auto assign issues and pull requests\n\non:\n  issues:\n    types:\n      - opened\n  pull_request:\n    types:\n      - opened\n\njobs:\n  run:\n    runs-on: ubuntu-latest\n    permissions:\n      issues: write\n      pull-requests: write\n    steps:\n      - name: Assign issues and pull requests\n        uses: gustavofreze/auto-assign@x.y.z\n        with:\n          assignees: 'user1,user2'\n          github_token: '${{ secrets.GITHUB_TOKEN }}'\n          allow_self_assign: 'true'\n          allow_no_assignees: 'true'\n          assignment_options: 'ISSUE,PULL_REQUEST'\n```\n\n\u003cdiv id='output'\u003e\u003c/div\u003e\n\n### Output\n\nThe action produces a structured output that allows workflows to programmatically inspect the result of the assignment\nprocess.  \nThis output is exposed via the `result` object, which contains information describing how the action executed and\nwhether it completed successfully or encountered any issues.\n\n| Field         | Type    | Description                                                                                                                                                                                                                                                        |\n|:--------------|---------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `result`      | Object  | Object containing information about the processing performed by the action.                                                                                                                                                                                        |\n| `result.code` | Integer | Represents the exit status of the execution:\u003cbr\u003e\u003cbr\u003e**0** – Execution completed successfully.\u003cbr\u003e**1** – An unexpected error occurred during execution.\u003cbr\u003e**2** – Failed to assign pull requests or issues.\u003cbr\u003e**3** – A required configuration value is missing. |\n\nThe example below shows how to react to different outcome codes returned by the action:\n\n```yml\nname: Auto assign issues and pull requests\n\non:\n  issues:\n    types:\n      - opened\n  pull_request:\n    types:\n      - opened\n\njobs:\n  run:\n    runs-on: ubuntu-latest\n    permissions:\n      issues: write\n      pull-requests: write\n    steps:\n      - name: Assign issues and pull requests\n        uses: gustavofreze/auto-assign@x.y.z\n        with:\n          assignees: 'user1,user2'\n          github_token: '${{ secrets.GITHUB_TOKEN }}'\n          allow_self_assign: 'true'\n          allow_no_assignees: 'true'\n          assignment_options: 'ISSUE,PULL_REQUEST'\n\n      - name: Success logic\n        if: ${{ steps.autoassign.outputs.result.code == 0 }}\n        run: |\n          echo \"Assignment completed successfully.\"\n\n      - name: Unexpected error handling\n        if: ${{ steps.autoassign.outputs.result.code == 1 }}\n        run: |\n          echo \"An unexpected error occurred during execution.\"\n\n      - name: Assignment failure handling\n        if: ${{ steps.autoassign.outputs.result.code == 2 }}\n        run: |\n          echo \"The action failed to assign issues or pull requests.\"\n```\n\n\u003cdiv id='license'\u003e\u003c/div\u003e\n\n## License\n\nAuto-assign is licensed under [MIT](LICENSE).\n\n\u003cdiv id='contributing'\u003e\u003c/div\u003e\n\n## Contributing\n\nPlease follow the [contributing guidelines](CONTRIBUTING.md) to contribute to the project.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgustavofreze%2Fauto-assign","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgustavofreze%2Fauto-assign","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgustavofreze%2Fauto-assign/lists"}