{"id":15870931,"url":"https://github.com/xunleii/github-quick-actions","last_synced_at":"2025-04-01T22:25:24.013Z","repository":{"id":45574007,"uuid":"399933212","full_name":"xunleii/github-quick-actions","owner":"xunleii","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-18T23:15:15.000Z","size":290,"stargazers_count":3,"open_issues_count":29,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-19T00:24:22.390Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Gherkin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xunleii.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":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-08-25T19:20:24.000Z","updated_at":"2022-10-27T15:27:49.000Z","dependencies_parsed_at":"2023-12-08T02:27:14.911Z","dependency_job_id":"f619c083-5a4e-4a0f-8198-f1cfa14a44ee","html_url":"https://github.com/xunleii/github-quick-actions","commit_stats":{"total_commits":144,"total_committers":4,"mean_commits":36.0,"dds":0.2569444444444444,"last_synced_commit":"7402284ed355c4e3c21cc92b1c71069beb5a752b"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xunleii%2Fgithub-quick-actions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xunleii%2Fgithub-quick-actions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xunleii%2Fgithub-quick-actions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xunleii%2Fgithub-quick-actions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xunleii","download_url":"https://codeload.github.com/xunleii/github-quick-actions/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246719629,"owners_count":20822779,"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":"2024-10-06T00:40:58.158Z","updated_at":"2025-04-01T22:25:23.998Z","avatar_url":"https://github.com/xunleii.png","language":"Gherkin","readme":"# Github quick actions\n\n![GitHub deployments](https://img.shields.io/github/deployments/xunleii/github-quick-actions/AWS%20Lambda?label=Published%20on%20AWS%20Lambda)\n[![Total alerts](https://img.shields.io/lgtm/alerts/g/xunleii/github-quick-actions.svg?logo=lgtm\u0026logoWidth=18)](https://lgtm.com/projects/g/xunleii/github-quick-actions/alerts/)\n[![GoReportCard example](https://goreportcard.com/badge/github.com/nanomsg/mangos)](https://goreportcard.com/report/github.com/xunleii/github-quick-actions)\n[![CodeFactor](https://www.codefactor.io/repository/github/xunleii/github-quick-actions/badge/main)](https://www.codefactor.io/repository/github/xunleii/github-quick-actions/overview/main)\n[![codecov](https://codecov.io/gh/xunleii/github-quick-actions/branch/main/graph/badge.svg?token=N69O0F7FGJ)](https://codecov.io/gh/xunleii/github-quick-actions)\n[![GitHub license](https://img.shields.io/github/license/xunleii/github-quick-actions.svg)](https://github.com/xunleii/github-quick-actions/blob/master/LICENSE)\n[![GitHub release](https://img.shields.io/github/release/xunleii/github-quick-actions.svg)](https://GitHub.com/xunleii/github-quick-actions/releases/)\n\nThis workflow allows everyone to use [Gitlab quick actions](https://docs.gitlab.com/ee/user/project/quick_actions.html)\non their repository.\n\n\u003e NOTE: this documentation is mainly based on the Gitlab one, available\n\u003e on [Gitlab](https://gitlab.com/gitlab-org/gitlab/blob/master/doc/user/project/quick_actions.md)\n\n## What are _quick actions_\n\nQuick actions are text-based shortcuts for common actions that are usually done\nby selecting buttons or dropdowns in the GitLab user interface. You can enter\nthese commands in the descriptions or comments of issues, epics, merge requests,\nand commits.\n\nBe sure to enter each quick action on a separate line to allow GitLab to\nproperly detect and execute the commands.\n\n## Parameters\n\nMany quick actions require a parameter. For example, the `/assign` quick action\nrequires a username.\n\nIf you manually enter a parameter, it must be enclosed in double quotation marks\n(`\"`), unless it contains only these characters:\n\n- ASCII letters\n- Numbers (0-9)\n- Underscore (`_`), hyphen (`-`), question mark (`?`), dot (`.`), or ampersand (`\u0026`)\n\nParameters are case-sensitive.\n\n## Available quick actions\n\nThe following quick actions are already released and available on the Github application.\n\n|                               Command                               | Applicable on                                                                                                                     |                                     Description                                     |\n| :-----------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------- | :---------------------------------------------------------------------------------: |\n|                     `/assign @user [@user...]`                      | **\u0026#10003;** `issue`\u003cbr\u003e**\u0026#10003;** `issue_comment`\u003cbr\u003e**\u0026#10003;** `pull_request`\u003cbr\u003e**\u0026#10003;** `pull_request_review_comment` |           Assign one or more users.\u003cbr\u003e_Use `me` to assign yourself._\u003cbr\u003e           |\n|                 `/unassign`\u003cbr\u003e`/remove_assignees`                  | **\u0026#10003;** `issue_comment`\u003cbr\u003e**\u0026#10003;** `pull_request_review_comment`                                                        |                                Remove all assignees.                                |\n|                    `/unassign @user [@user...]`                     | **\u0026#10003;** `issue_comment`\u003cbr\u003e**\u0026#10003;** `pull_request_review_comment`                                                        |         Remove one or more assignees.\u003cbr\u003e_Use `me` to remove yourself._\u003cbr\u003e         |\n|                         `/duplicate #issue`                         | **\u0026#10003;** `issue_comment`\u003cbr\u003e**\u0026#10003;** `pull_request_review_comment`                                                        |             Close this issue and mark as a duplicate of another issue.              |\n|                     `/label ~label [~label...]`                     | **\u0026#10003;** `issue`\u003cbr\u003e**\u0026#10003;** `issue_comment`\u003cbr\u003e**\u0026#10003;** `pull_request`\u003cbr\u003e**\u0026#10003;** `pull_request_review_comment` | Add one or more labels.\u003cbr\u003e_Label names can also start without a tilde (`~`)._\u003cbr\u003e  |\n|                    `/unlabel`\u003cbr\u003e`/remove_label`                    | **\u0026#10003;** `issue_comment`\u003cbr\u003e**\u0026#10003;** `pull_request_review_comment`                                                        | Remove specified labels.\u003cbr\u003e_Label names can also start without a tilde (`~`)._\u003cbr\u003e |\n| `/unlabel ~label [~label...]`\u003cbr\u003e`/remove_label ~label [~label...]` | **\u0026#10003;** `issue_comment`\u003cbr\u003e**\u0026#10003;** `pull_request_review_comment`                                                        |                                 Remove all labels.                                  |\n\n## Quick actions to be developed\n\nThe following quick actions will be available in the future (must need times to develop them).\n\n|                  Command                   | Applicable on                                                                                                                 |                                                                                         Description                                                                                         |\n| :----------------------------------------: | :---------------------------------------------------------------------------------------------------------------------------- | :-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |\n|        `/reassign @user [@user...]`        | **\u0026#9676;** `issue_comment`\u003cbr\u003e**\u0026#9676;** `pull_request_review_comment`                                                      |                                                    Replace current assignees with those specified.\u003cbr\u003e_Use `me` to assign yourself._\u003cbr\u003e                                                    |\n|       `/relabel ~label [~label...]`        | **\u0026#9676;** `issue_comment`\u003cbr\u003e**\u0026#9676;** `pull_request_review_comment`                                                      |                                           Replace current labels with those specified.\u003cbr\u003e_Label names can also start without a tilde (`~`)._\u003cbr\u003e                                           |\n|    `/assign_reviewer @user [@user ...]`    | **\u0026#9676;** `issue_comment`\u003cbr\u003e**\u0026#9676;** `pull_request`\u003cbr\u003e**\u0026#9676;** `pull_request_review_comment`                        |                                                        Assign one or more users as reviewers.\u003cbr\u003e_Use `me` to assign yourself._\u003cbr\u003e                                                         |\n|   `/reassign_reviewer @user [@user ...]`   | **\u0026#9676;** `issue_comment`\u003cbr\u003e**\u0026#9676;** `pull_request_review_comment`                                                      |                                                    Replace current reviewers with those specified.\u003cbr\u003e_Use `me` to assign yourself._\u003cbr\u003e                                                    |\n|   `/unassign_reviewer @user [@user ...]`   | **\u0026#9676;** `issue_comment`\u003cbr\u003e**\u0026#9676;** `pull_request_review_comment`                                                      |                                                              Remove specified reviewers.\u003cbr\u003e_Use `me` to remove yourself._\u003cbr\u003e                                                              |\n| `/unassign_reviewer`\u003cbr\u003e`/remove_reviewer` | **\u0026#9676;** `issue_comment`\u003cbr\u003e**\u0026#9676;** `pull_request_review_comment`                                                      |                                                                                    Remove all reviewers.                                                                                    |\n|                  `/draft`                  | **\u0026#9676;** `issue_comment`\u003cbr\u003e**\u0026#9676;** `pull_request`\u003cbr\u003e**\u0026#9676;** `pull_request_review_comment`                        |                                                                                  Toggle the draft status.                                                                                   |\n|                 `/reopen`                  | **\u0026#9676;** `issue_comment`                                                                                                   |                                                                          Reopen the current issue or pull request.                                                                          |\n|                  `/close`                  | **\u0026#9676;** `issue_comment`                                                                                                   |                                                                          Close the current issue or pull request.                                                                           |\n|                  `/merge`                  | **\u0026#9676;** `issue_comment`                                                                                                   |                                                                               Merge the current pull request.                                                                               |\n|  `/copy_metadata #issue field [field...]`  | **\u0026#9676;** `issue`\u003cbr\u003e**\u0026#9676;** `issue_comment`\u003cbr\u003e**\u0026#9676;** `pull_request`                                              | Copy specified metadata from another issue or pull request.\u003cbr\u003e_Available metadata are: assignees, reviewers, labels,\u003cbr\u003eproject, milestones, related_issues and related_pull_requests_\u003cbr\u003e |\n|          `/copy_metadata #issue`           | **\u0026#9676;** `issue`\u003cbr\u003e**\u0026#9676;** `issue_comment`\u003cbr\u003e**\u0026#9676;** `pull_request`                                              |                                                                    Copy all metadata from another issue or pull request.                                                                    |\n|     `/create_pull_request branch_name`     | **\u0026#9676;** `issue_comment`                                                                                                   |                              Create a new merge request starting from the current issue.\u003cbr\u003e_It will automatically link the current issue with the new PR_\u003cbr\u003e                              |\n|          `/milestone %milestone`           | **\u0026#9676;** `issue`\u003cbr\u003e**\u0026#9676;** `issue_comment`\u003cbr\u003e**\u0026#9676;** `pull_request`                                              |                                                                                       Set milestone.                                                                                        |\n|        `/relate #issue [#issue...]`        | **\u0026#9676;** `issue`\u003cbr\u003e**\u0026#9676;** `issue_comment`\u003cbr\u003e**\u0026#9676;** `pull_request`\u003cbr\u003e**\u0026#9676;** `pull_request_review_comment` |                                                                                   Mark issues as related.                                                                                   |\n|        `/target_branch branch_name`        | **\u0026#9676;** `issue_comment`                                                                                                   |                                                                                     Set target branch.                                                                                      |\n|             `/title new_title`             | **\u0026#9676;** `issue_comment`\u003cbr\u003e**\u0026#9676;** `pull_request`                                                                     |                                                                                        Change title.                                                                                        |\n|     `/submit_review @user [@user...]`      | **\u0026#9676;** `issue_comment`                                                                                                   |                                                                       Submit a pending review to specified reviewers.                                                                       |\n|              `/submit_review`              | **\u0026#9676;** `issue_comment`                                                                                                   |                                                                          Submit a pending review to all reviewers.                                                                          |\n\n## Quick actions that will not be developed\n\nThe following quick actions will not be developed for specific reasons.\n\n|    Command     | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                               |                                                                      Reasons                                                                      |\n| :------------: | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | :-----------------------------------------------------------------------------------------------------------------------------------------------: |\n|  `/subscribe`  | Subscribe to notifications.                                                                                                                                                                                                                                                                                                                                                                                                                                               |                                     Github App needs access to a user information and ability to modify them                                      |\n| `/unsubscribe` | Unsubscribe from notifications.                                                                                                                                                                                                                                                                                                                                                                                                                                           |                                     Github App needs access to a user information and ability to modify them                                      |\n|   `/approve`   | Approve the merge request or the review.                                                                                                                                                                                                                                                                                                                                                                                                                                  |                                        Github App needs access to a user information and impersonate them                                         |\n|   `/rebase`    | Rebase source branch.\u003cbr\u003eThis schedules a background task that attempts to rebase the changes in the source branch on the latest commit of the target branch.\u003cbr\u003eIf `/rebase` is used, `/merge` is ignored to avoid a race condition where the source branch is merged or deleted before it is rebased.\u003cbr\u003eIf there are merge conflicts, GitLab displays a message that a rebase cannot be scheduled.\u003cbr\u003eRebase failures are displayed with the merge request status.\u003cbr\u003e | Cost too much to implement and to execute; alternative exists like using GithubAction with specific labels\u003cbr\u003eCould have impact on the PR content |\n\n## Contributing\n\nSee the [contributing guide](CONTRIBUTING.md) for detailed instructions of how to get\nstarted with our project.\n\nWe accept different types of contributions, including some that don't require you to write\na single line of code. If you're looking for a way to contribute, you can scan through our\nexisting issues for something to work on.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxunleii%2Fgithub-quick-actions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxunleii%2Fgithub-quick-actions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxunleii%2Fgithub-quick-actions/lists"}