{"id":24965732,"url":"https://github.com/shiftcode/github-action-skip","last_synced_at":"2026-03-17T18:15:32.885Z","repository":{"id":40291418,"uuid":"220487031","full_name":"shiftcode/github-action-skip","owner":"shiftcode","description":"skips a github action based on some input parameter","archived":false,"fork":false,"pushed_at":"2024-06-16T10:10:09.000Z","size":2743,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-02-11T18:09:17.832Z","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/shiftcode.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,"roadmap":null,"authors":null,"dei":null}},"created_at":"2019-11-08T14:47:24.000Z","updated_at":"2022-01-05T09:19:35.000Z","dependencies_parsed_at":"2024-04-02T15:44:14.069Z","dependency_job_id":null,"html_url":"https://github.com/shiftcode/github-action-skip","commit_stats":{"total_commits":43,"total_committers":2,"mean_commits":21.5,"dds":"0.11627906976744184","last_synced_commit":"bc03570fc4c91c25239c9e4a4b7b88b5189ba544"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":"actions/typescript-action","purl":"pkg:github/shiftcode/github-action-skip","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shiftcode%2Fgithub-action-skip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shiftcode%2Fgithub-action-skip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shiftcode%2Fgithub-action-skip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shiftcode%2Fgithub-action-skip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shiftcode","download_url":"https://codeload.github.com/shiftcode/github-action-skip/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shiftcode%2Fgithub-action-skip/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30628405,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-17T17:32:55.572Z","status":"ssl_error","status_checked_at":"2026-03-17T17:32:38.732Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2025-02-03T11:15:20.612Z","updated_at":"2026-03-17T18:15:32.875Z","avatar_url":"https://github.com/shiftcode.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# shiftcode/github-action-skip\n\n![version](https://img.shields.io/github/last-commit/shiftcode/github-action-skip)\n![version](https://img.shields.io/github/tag/shiftcode/github-action-skip?label=version)\n\nGithub Actions have [native support](https://github.blog/changelog/2021-02-08-github-actions-skip-pull-request-and-push-workflows-with-skip-ci/) to skip an entire workflow depending on commit message. But since we rely on status checks\nfor our Pull Requests to be green, we need another option.\n\nThis action accepts an input string `skipOnCommitMsg` which will be used to check if the commit message contains the given string.\nIf yes the output `shouldExecute` will be set to `false`. `true` otherwise. For full input / output list and other configurations check [`action.yml`](./action.yml).\n\n## Example GitHub Workflow definition\n\nThis example shows how to set up two dependant jobs, the second will only be executed if the output from `checkExecution` job is `true`.\n\n```yaml\n# jobs\ncheckExecution:\n  runs-on: ubuntu-latest\n  outputs:\n    shouldExecute: ${{ steps.stepCheckExecution.outputs.shouldExecute }}\n  steps:\n    - id: stepCheckExecution\n      name: Check for execution\n      uses: shiftcode/github-action-skip@releases/v2-alpha.0\n      with:\n        skipOnCommitMsg: '[skip_build]'\n        githubToken: ${{secrets.GH_TOKEN_3}}\nbuild:\n  runs-on: ubuntu-latest\n  needs: checkExecution\n  # only execute if not skipped by commit message\n  if: needs.checkExecution.outputs.shouldExecute == 'true'\n  steps: ...\n```\n\n## Development\n\n### new version\n\n1. implement your changes\n2. commit changes (pre-commit hook will do some code checks / changes and build the artifacts)\n3. set tag `git tag -a -m \"my fancy release\" v0.0.X`\n4. push with tags `git push --follow-tags`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshiftcode%2Fgithub-action-skip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshiftcode%2Fgithub-action-skip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshiftcode%2Fgithub-action-skip/lists"}