{"id":30763682,"url":"https://github.com/hadialqattan/relies-on","last_synced_at":"2025-09-04T16:15:45.076Z","repository":{"id":65160034,"uuid":"464849739","full_name":"hadialqattan/relies-on","owner":"hadialqattan","description":"A Github action to identify any workflows that must complete successfully before another workflow will run.","archived":false,"fork":false,"pushed_at":"2023-06-02T11:36:10.000Z","size":373,"stargazers_count":5,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-04-15T21:41:46.063Z","etag":null,"topics":["actions","automation","devops","gh-actions","workflows"],"latest_commit_sha":null,"homepage":"","language":"Python","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/hadialqattan.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}},"created_at":"2022-03-01T10:36:48.000Z","updated_at":"2022-12-28T01:22:57.000Z","dependencies_parsed_at":"2023-01-04T12:37:33.491Z","dependency_job_id":null,"html_url":"https://github.com/hadialqattan/relies-on","commit_stats":{"total_commits":9,"total_committers":1,"mean_commits":9.0,"dds":0.0,"last_synced_commit":"2e9035913fd1dec253ccf9cef5fa4cca7c3ee8b8"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/hadialqattan/relies-on","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hadialqattan%2Frelies-on","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hadialqattan%2Frelies-on/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hadialqattan%2Frelies-on/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hadialqattan%2Frelies-on/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hadialqattan","download_url":"https://codeload.github.com/hadialqattan/relies-on/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hadialqattan%2Frelies-on/sbom","scorecard":{"id":452486,"data":{"date":"2025-08-11","repo":{"name":"github.com/hadialqattan/relies-on","commit":"db526ee693fdbe723a7f60bfe6d30ef1b7b44289"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.2,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 0/14 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/hadialqattan/relies-on/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/hadialqattan/relies-on/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/hadialqattan/relies-on/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:38: update your workflow using https://app.stepsecurity.io/secureworkflow/hadialqattan/relies-on/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:41: update your workflow using https://app.stepsecurity.io/secureworkflow/hadialqattan/relies-on/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:56: update your workflow using https://app.stepsecurity.io/secureworkflow/hadialqattan/relies-on/ci.yml/main?enable=pin","Warn: containerImage not pinned by hash: Dockerfile:1","Warn: containerImage not pinned by hash: Dockerfile:13: pin your Docker image by updating gcr.io/distroless/python3-debian10 to gcr.io/distroless/python3-debian10@sha256:b0041237ec3b3009275c1e0698fd7339940f2736d3359874da71bebd0878ed0a","Warn: pipCommand not pinned by hash: Dockerfile:9","Warn: pipCommand not pinned by hash: .github/workflows/ci.yml:48","Warn: pipCommand not pinned by hash: .github/workflows/ci.yml:49","Info:   0 out of   4 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 third-party GitHubAction dependencies pinned","Info:   0 out of   3 pipCommand dependencies pinned","Info:   0 out of   2 containerImage dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 1 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":7,"reason":"3 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-9hjg-9r4m-mvj7","Warn: Project is vulnerable to: GHSA-9wx4-h78v-vm56","Warn: Project is vulnerable to: PYSEC-2023-74 / GHSA-j8r2-6x86-q33q"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-19T08:33:46.737Z","repository_id":65160034,"created_at":"2025-08-19T08:33:46.737Z","updated_at":"2025-08-19T08:33:46.737Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273635269,"owners_count":25141145,"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","status":"online","status_checked_at":"2025-09-04T02:00:08.968Z","response_time":61,"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":["actions","automation","devops","gh-actions","workflows"],"created_at":"2025-09-04T16:15:38.622Z","updated_at":"2025-09-04T16:15:45.067Z","avatar_url":"https://github.com/hadialqattan.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n    \u003cimg width=321 src=\"./logo.png\"/\u003e\u003cbr\u003e\n\u003c/h1\u003e\n\n\u003ch4 align=\"center\"\u003e\n  A Github action to identify any workflows that must complete successfully before another workflow will run.\n  \u003c/br\u003e\n  \u003c/br\u003e\n  \u003ci\u003e\"Relies-on is to workflows as \u003ccode\u003e\u003ca href=\"https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idneeds\"\u003eneeds\u003c/a\u003e\u003c/code\u003e is to jobs\" - Relies-on Author 😉\u003c/i\u003e\n\u003c/h4\u003e\n\n##\n\n\u003c/br\u003e\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/hadialqattan/relies-on/actions?query=workflow%3ACI\"\u003e\u003cimg src=\"https://img.shields.io/github/actions/workflow/status/hadialqattan/relies-on/ci.yml?label=CI\u0026logo=github\u0026style=flat-square\" alt=\"CI\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://codecov.io/gh/hadialqattan/relies-on\"\u003e\u003cimg src=\"https://img.shields.io/codecov/c/gh/hadialqattan/relies-on/main?token=J5B4U3N3X4\u0026style=flat-square\" alt=\"Codecov\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/hadialqattan/relies-on/blob/main/LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/github/license/hadialqattan/relies-on.svg?color=dark-green\u0026style=flat-square\" alt=\"License\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/hadialqattan/relies-on/issues\"\u003e\u003cimg src=\"https://img.shields.io/github/issues/hadialqattan/relies-on?style=flat-square\" alt=\"Issues\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/hadialqattan/relies-on/pulls\"\u003e\u003cimg src=\"https://img.shields.io/github/issues-pr/hadialqattan/relies-on?style=flat-square\" alt=\"Pull Requests\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/hadialqattan/relies-on/commits/main\"\u003e\u003cimg src=\"https://img.shields.io/github/last-commit/hadialqattan/relies-on.svg?style=flat-square\" alt=\"Last Commit\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n##\n\n## Why does Relies-on exist? 🛸\n\nThe main purpose of Relies-on is to identify any workflows that must complete\nsuccessfully before another workflow will run.\n\n_(The idea behind this action is similar to Github's\n\u003ccode\u003e\u003ca href=\"https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idneeds\"\u003eneeds\u003c/a\u003e\u003c/code\u003e\nbut at a workflows scale)._\n\nAs an example of a situation where Relies-on comes in handy, let's imagine that you have\ntwo different workflows one called `CI` and another called `CD` assuming the `CD`\nworkflow will do a critical thing that mustn't be performed only if the latest run of\nthe `CI` workflow succeeded. One approach to solve this problem is to check the status\nof the latest `CI` run manually, but the problem with this approach is the ability to\nrun the `CD` workflow (doing the critical thing) whether the latest `CI` workflow run\nwas succeeded or not, which is not totally safe because there is no actual restriction,\ntherefore Relies-on comes into existence.\n\n## How could aliens use this action? 👽\n\nHere's a simple example to get started (assuming we have another workflow called `CI`):\n\n```yml\n# This is a CD system. It should publish a new release\n# if and only if the lastest run of the CI workflow has succeeded.\nname: CD\n\non:\n  push:\n    tags:\n      - \"v*.*.*\"\n\njobs:\n  check_ci_status:\n    name: Check the CI Workflow's Status\n    runs-on: ubuntu-latest\n    steps:\n      - uses: hadialqattan/relies-on@v1.0.0\n        with:\n          workflow: CI\n\n  deployment:\n    name: Deployment job\n    needs: check_ci_status\n    ...\n```\n\nThis would terminate the `CD` workflow if the latest `CI` workflow run faild.\n\n**Optional action inputs (arguments):**\n\n```yml\nowner:\n  The username of the owner of the repository containing the workflow. [default=currect\n  repository owner username]\n\nrepository:\n  The name of the repository containing the workflow. [default=current repository name]\n\nworkflow: The name of the workflow that would be checked.\n\nbranch:\n  The name of the branch where the workflow runs. [default=repository's default branch\n  (most likely master or main)]\n\nevent: The type of the event that triggers the workflow. [default= ]\n\nexclude_pull_requests: If true pull requests based runs are omitted. [default=true]\n# Falsy values: \"n\", \"no\", \"f\", \"false\", \"off\", \"0\"\n# Truthy values: \"y\", \"yes\", \"t\", \"true\", \"on\", \"1\"\n```\n\n## Changelog 🆕\n\nAll notable changes to this project will be documented here.\n\nThe format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and\nthis project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).\n\n\u003c!-- Please use the below template. --\u003e\n\u003c!-- - [description by @username](https://github.com/hadialqattan/relies-on/pull/{pull_number}) --\u003e\n\n### [Unreleased]\n\n### [1.0.0] - 2022-04-26\n\n#### Added\n\n- [First published version](https://github.com/marketplace/actions/relies-on), Happy 🍰\n  Day 2022!\n- [Semantically versioned](https://semver.org/spec/v2.0.0.html)\n- [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) formatted.\n\n## Authors 👤\n\nAuthors:\n\n- Hadi Alqattan ([@hadialqattan](https://github.com/hadialqattan))\n  \u003calqattanhadizaki@gmail.com\u003e\n\nContributors:\n\n\u003c!-- Please write your name alphabetically and use the below template. --\u003e\n\u003c!-- - First Last ([@username](https://github.com/username)) \u003cexample@email.com\u003e --\u003e\n\n## Contributing ✨\n\nA big welcome for considering contributing to make the project better. In general, we\nfollow the [\"fork-and-pull\"](https://github.com/susam/gitpr) Git workflow:\n\n1. Fork the repository to your own Github account.\n2. Clone the project to your machine.\n3. Create a branch locally.\n4. Commit changes to the branch.\n5. Follow any formatting and testing guidelines specific to this repo\n   (`pre-commit install`).\n6. Push changes to your fork.\n7. Open a PR in our repository.\n\n## Code of Conduct ❤️\n\nEveryone participating in the Relies-on project, and in particular in the issue tracker,\nand pull requests is expected to treat other people with respect.\n\n## License 🚓\n\nThis project is licensed under an [MIT](./LICENSE) license.\n\n##\n\nGive a ⭐️ if this project helped you!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhadialqattan%2Frelies-on","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhadialqattan%2Frelies-on","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhadialqattan%2Frelies-on/lists"}