{"id":26163843,"url":"https://github.com/xarray-contrib/ci-trigger","last_synced_at":"2025-04-14T14:41:43.160Z","repository":{"id":53758430,"uuid":"332483451","full_name":"xarray-contrib/ci-trigger","owner":"xarray-contrib","description":"A github action to detect trigger keywords in the summary line of commit messages","archived":false,"fork":false,"pushed_at":"2023-09-20T08:04:18.000Z","size":8,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-04-25T23:21:24.518Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/xarray-contrib.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":null,"security":null,"support":null,"governance":null}},"created_at":"2021-01-24T15:25:33.000Z","updated_at":"2023-03-20T19:36:26.000Z","dependencies_parsed_at":"2023-01-04T12:30:35.883Z","dependency_job_id":"f2782871-d10f-418f-980b-a0eabcd883f3","html_url":"https://github.com/xarray-contrib/ci-trigger","commit_stats":{"total_commits":11,"total_committers":2,"mean_commits":5.5,"dds":0.4545454545454546,"last_synced_commit":"10cd2bfec3484946a4058a421ddf9cfad101e715"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xarray-contrib%2Fci-trigger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xarray-contrib%2Fci-trigger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xarray-contrib%2Fci-trigger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xarray-contrib%2Fci-trigger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xarray-contrib","download_url":"https://codeload.github.com/xarray-contrib/ci-trigger/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248898496,"owners_count":21179785,"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-03-11T14:53:17.706Z","updated_at":"2025-04-14T14:41:43.139Z","avatar_url":"https://github.com/xarray-contrib.png","language":"Shell","readme":"# ci-trigger\nA github action to detect trigger keywords in the summary line of commit messages\n\n# Usage\n\nTo use the detect-ci-trigger action in workflows, add a new job:\n\n```yaml\n  detect-ci-trigger:\n    name: Detect CI Trigger\n    runs-on: ubuntu-latest\n    outputs:\n      triggered: ${{ steps.detect-trigger.outputs.trigger-found }}\n    steps:\n    - uses: actions/checkout@v2\n      with:\n        fetch-depth: 2\n    - uses: xarray-contrib/ci-trigger@v1\n      id: detect-trigger\n      with:\n        keyword: \"\u003ckeyword\u003e\"\n```\n\nthen require the new job in jobs that should be conditionally skipped:\n\n```yaml\n  my-ci-job:\n    runs-on: ubuntu-latest\n    needs: detect-ci-trigger\n    if: needs.detect-ci-trigger.outputs.triggered == 'false'  # for skipped ci\n    # if: needs.detect-ci-trigger.outputs.triggered == 'true'  # for explicitly enabled ci\n    steps:\n    - actions/checkout@v2\n    # ...\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxarray-contrib%2Fci-trigger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxarray-contrib%2Fci-trigger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxarray-contrib%2Fci-trigger/lists"}