{"id":21190624,"url":"https://github.com/jenssimon/gh-workflows","last_synced_at":"2026-05-01T02:31:23.476Z","repository":{"id":62638366,"uuid":"561213454","full_name":"jenssimon/gh-workflows","owner":"jenssimon","description":"A collection of reusable workflows for GitHub Actions.","archived":false,"fork":false,"pushed_at":"2026-04-25T18:45:05.000Z","size":128852,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-25T20:28:21.130Z","etag":null,"topics":["github-actions","reusable-workflows"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/jenssimon.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,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-11-03T07:46:02.000Z","updated_at":"2026-04-25T18:45:08.000Z","dependencies_parsed_at":"2023-10-28T19:33:23.591Z","dependency_job_id":"1d4d5362-f146-45f0-b32e-99b97ec333f5","html_url":"https://github.com/jenssimon/gh-workflows","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/jenssimon/gh-workflows","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jenssimon%2Fgh-workflows","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jenssimon%2Fgh-workflows/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jenssimon%2Fgh-workflows/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jenssimon%2Fgh-workflows/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jenssimon","download_url":"https://codeload.github.com/jenssimon/gh-workflows/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jenssimon%2Fgh-workflows/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32483406,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"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":["github-actions","reusable-workflows"],"created_at":"2024-11-20T19:00:52.017Z","updated_at":"2026-05-01T02:31:23.443Z","avatar_url":"https://github.com/jenssimon.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![star this repo][gh-stars-image]][gh-url] [![fork this repo][gh-forks-image]][gh-url] [![Build Status][gh-status-image]][gh-url]\n\n# gh-workflows\n\n\u003e A collection of reusable workflows for GitHub Actions.\n\nHere some reusable workflows are shared. The main purpose of this repository is for usage on repositories hosted on @jenssimon. But if you find something useful please feel free to use it outside of this context.\n\n## skip-push-pr-duplicates\n\nThis workflow checks if a run of CI tasks is necessary in workflows that uses both `push` and `pull_request`. So it helps to skip duplicate runs.\n\n**Usage:**\n\n```yaml\nname: Test\n\non:\n  push:\n    branches: [ '**' ]\n  pull_request:\n    branches: [ main ]\n\njobs:\n  pre_job:\n    uses: jenssimon/gh-workflows/.github/workflows/skip-push-pr-duplicates.yml@v1.0.1\n\n  build:\n    needs: pre_job\n    if: ${{ needs.pre_job.outputs.needs_run_and_release == 'true' }}\n    # ...\n```\n\n**Outputs:**\n\n| Name                    | Type      | Description                                                                                              |\n|:------------------------|:----------|:---------------------------------------------------------------------------------------------------------|\n| `needs_run`             | `boolean` | Returns `true` if a run of CI jobs is necessary.                                                         |\n| `needs_run_and_release` | `boolean` | Same as `needs_run` but it also returns `true` when the current workflow is a `push` to the main branch. |\n\n## License\n\nMIT © 2022 [Jens Simon](https://github.com/jenssimon)\n\n[gh-url]: https://github.com/jenssimon/gh-workflows\n[gh-stars-image]: https://badgen.net/github/stars/jenssimon/gh-workflows\n[gh-forks-image]: https://badgen.net/github/forks/jenssimon/gh-workflows\n[gh-status-image]: https://badgen.net/github/status/jenssimon/gh-workflows\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjenssimon%2Fgh-workflows","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjenssimon%2Fgh-workflows","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjenssimon%2Fgh-workflows/lists"}