{"id":23485519,"url":"https://github.com/yuler/pr-comment-trigger","last_synced_at":"2025-04-14T05:45:55.671Z","repository":{"id":37791271,"uuid":"407765464","full_name":"yuler/pr-comment-trigger","owner":"yuler","description":null,"archived":false,"fork":false,"pushed_at":"2022-09-14T01:49:49.000Z","size":275,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-06T12:13:19.375Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/yuler.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":"CODEOWNERS","security":null,"support":null}},"created_at":"2021-09-18T05:28:48.000Z","updated_at":"2023-03-04T05:02:43.000Z","dependencies_parsed_at":"2023-01-17T16:01:50.067Z","dependency_job_id":null,"html_url":"https://github.com/yuler/pr-comment-trigger","commit_stats":{"total_commits":26,"total_committers":2,"mean_commits":13.0,"dds":0.5769230769230769,"last_synced_commit":"bde684126bdf87ec9a3c12b010d0e6c562e70f2a"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":"actions/typescript-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuler%2Fpr-comment-trigger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuler%2Fpr-comment-trigger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuler%2Fpr-comment-trigger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuler%2Fpr-comment-trigger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yuler","download_url":"https://codeload.github.com/yuler/pr-comment-trigger/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248830425,"owners_count":21168272,"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-12-24T22:13:16.805Z","updated_at":"2025-04-14T05:45:55.635Z","avatar_url":"https://github.com/yuler.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PR Comment Trigger\n\n\u003e Trigger match on pull request comment. Automatic cancel workflow when mismatch trigger.\n\n## Usage\n\n```yml\nname: PR Comment Trigger\n\non:\n  issue_comment:\n    types: [created]\n\njobs:\n  pr_commented:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: yuler/pr-comment-trigger@main\n        id: 'pr'\n        with:\n          trigger: '/trigger'\n      - name: Echo # sleep 2s wait for cancel\n        run: |\n          sleep 2 # sleep 2s wait for cancel\n          echo Trigger\n      - uses: actions/checkout@v2\n        with:\n          ref: ${{ steps.pr.outputs.branch }}\n```\n\n## Inputs\n\n`trigger`: The string match starts with it in pull request comment. For example '/trigger'\n\n## Outputs\n\n`branch`: The pull request branch\n\n## Refs\n\n- https://github.com/Khan/pull-request-comment-trigger\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuler%2Fpr-comment-trigger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyuler%2Fpr-comment-trigger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuler%2Fpr-comment-trigger/lists"}