{"id":16019462,"url":"https://github.com/jashparekh/cloud-functions-action","last_synced_at":"2025-08-28T12:09:16.342Z","repository":{"id":37745230,"uuid":"405738908","full_name":"jashparekh/cloud-functions-action","owner":"jashparekh","description":"This Github action can be used to deploy code to Cloud Functions","archived":false,"fork":false,"pushed_at":"2023-03-07T10:00:29.000Z","size":81,"stargazers_count":4,"open_issues_count":6,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-25T06:29:27.659Z","etag":null,"topics":["cloud-functions","github-actions","google","google-cloud-function","google-cloud-functions","google-cloud-platform"],"latest_commit_sha":null,"homepage":"https://github.com/marketplace/actions/google-cloud-function-deploy-code-action-for-github-action","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/jashparekh.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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}},"created_at":"2021-09-12T19:49:55.000Z","updated_at":"2023-11-28T16:21:35.000Z","dependencies_parsed_at":"2024-10-27T17:16:03.799Z","dependency_job_id":"45969967-dd78-4720-8f18-44d8c5581437","html_url":"https://github.com/jashparekh/cloud-functions-action","commit_stats":{"total_commits":82,"total_committers":3,"mean_commits":"27.333333333333332","dds":"0.12195121951219512","last_synced_commit":"901d43bdb351c3f4ce75efec6386b6760d054690"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/jashparekh/cloud-functions-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jashparekh%2Fcloud-functions-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jashparekh%2Fcloud-functions-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jashparekh%2Fcloud-functions-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jashparekh%2Fcloud-functions-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jashparekh","download_url":"https://codeload.github.com/jashparekh/cloud-functions-action/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jashparekh%2Fcloud-functions-action/sbom","scorecard":{"id":507005,"data":{"date":"2025-08-11","repo":{"name":"github.com/jashparekh/cloud-functions-action","commit":"901d43bdb351c3f4ce75efec6386b6760d054690"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.7,"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":"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":"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":"Code-Review","score":-1,"reason":"Found no human activity in the last 30 changesets","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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/integration-test.yml:1","Warn: no topLevel permission defined: .github/workflows/lint.yml:1","Warn: no topLevel permission defined: .github/workflows/test.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":"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":"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":"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":"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":"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/integration-test.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/jashparekh/cloud-functions-action/integration-test.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/lint.yml:68: update your workflow using https://app.stepsecurity.io/secureworkflow/jashparekh/cloud-functions-action/lint.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/lint.yml:69: update your workflow using https://app.stepsecurity.io/secureworkflow/jashparekh/cloud-functions-action/lint.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/lint.yml:85: update your workflow using https://app.stepsecurity.io/secureworkflow/jashparekh/cloud-functions-action/lint.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/lint.yml:88: update your workflow using https://app.stepsecurity.io/secureworkflow/jashparekh/cloud-functions-action/lint.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/lint.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/jashparekh/cloud-functions-action/lint.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/lint.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/jashparekh/cloud-functions-action/lint.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/lint.yml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/jashparekh/cloud-functions-action/lint.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/lint.yml:35: update your workflow using https://app.stepsecurity.io/secureworkflow/jashparekh/cloud-functions-action/lint.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/lint.yml:51: update your workflow using https://app.stepsecurity.io/secureworkflow/jashparekh/cloud-functions-action/lint.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/lint.yml:52: update your workflow using https://app.stepsecurity.io/secureworkflow/jashparekh/cloud-functions-action/lint.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/jashparekh/cloud-functions-action/test.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/jashparekh/cloud-functions-action/test.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/jashparekh/cloud-functions-action/test.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:41: update your workflow using https://app.stepsecurity.io/secureworkflow/jashparekh/cloud-functions-action/test.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/test.yml:49: update your workflow using https://app.stepsecurity.io/secureworkflow/jashparekh/cloud-functions-action/test.yml/main?enable=pin","Warn: containerImage not pinned by hash: Dockerfile:1","Warn: containerImage not pinned by hash: docker/devbox.dockerfile:1: pin your Docker image by updating python:3.11.0b3-buster to python:3.11.0b3-buster@sha256:1bae4f3516e06992454410084f88cec93110444430e0b2c27af84c37607e4081","Warn: pipCommand not pinned by hash: Dockerfile:6","Warn: pipCommand not pinned by hash: docker/devbox.dockerfile:27","Warn: pipCommand not pinned by hash: .github/actions/install-dependencies/action.sh:4","Warn: pipCommand not pinned by hash: .github/actions/install-dependencies/action.sh:8","Warn: pipCommand not pinned by hash: .github/actions/install-dependencies/action.sh:13","Warn: pipCommand not pinned by hash: docker/lock_requirements.sh:4","Info:   0 out of  14 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 third-party GitHubAction dependencies pinned","Info:   0 out of   2 containerImage dependencies pinned","Info:   0 out of   6 pipCommand 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":"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":"Vulnerabilities","score":9,"reason":"1 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2024-48 / GHSA-fj7x-q9j7-g6q6"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 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"}}]},"last_synced_at":"2025-08-19T23:28:34.256Z","repository_id":37745230,"created_at":"2025-08-19T23:28:34.256Z","updated_at":"2025-08-19T23:28:34.256Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272329689,"owners_count":24915409,"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-08-27T02:00:09.397Z","response_time":76,"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":["cloud-functions","github-actions","google","google-cloud-function","google-cloud-functions","google-cloud-platform"],"created_at":"2024-10-08T17:04:28.737Z","updated_at":"2025-08-28T12:09:16.313Z","avatar_url":"https://github.com/jashparekh.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Actions Status](https://github.com/jashparekh/cloud-functions-action/workflows/Lint/badge.svg?branch=main)](https://github.com/jashparekh/cloud-functions-action/actions)\n[![Actions Status](https://github.com/jashparekh/cloud-functions-action/workflows/Unit%20Tests/badge.svg?branch=main)](https://github.com/jashparekh/cloud-functions-action/actions)\n[![Actions Status](https://github.com/jashparekh/cloud-functions-action/workflows/Integration%20Test/badge.svg?branch=main)](https://github.com/jashparekh/cloud-functions-action/actions)\n![Version](https://img.shields.io/static/v3.svg?label=Version\u0026message=v1\u0026color=lightgrey\u0026?link=http://left\u0026link=https://github.com/jashparekh/cloud-functions-action/tree/v1)\n\n\n# Cloud Function Github Action\n\nThis Github action can be used to deploy code to Cloud Functions.\n\n### Simple\n\n```yaml\nname: \"Deploy code to Cloud Function\"\non:\n  pull_request: {}\n  push:\n      branches: [\"main\"]\n\njobs:\n  deploy_schemas:\n    runs-on: ubuntu-latest\n    name: Deploy code to Cloud Function\n    steps:\n      # To use this repository's private action,\n      # you must check out the repository\n      - name: Checkout\n        uses: actions/checkout@v2.3.4\n      - name: Deploy code to Cloud Function\n        uses: jashparekh/cloud-functions-action@v1\n        env:\n          gcp_project: \"gcp-us-project\"\n          gcp_region: \"us-central1\"\n          cloud_function_name: \"function-1\"\n          cloud_function_directory: \"directory/function-code\"\n          credentials: ${{ secrets.GCP_SERVICE_ACCOUNT }}\n```\n\n## Configuration\n\n### Required\n\n### `gcp_project` (required, string)\n\nThe name of the GCP project you want to deploy.\n\nExample: `gcp-us-project`\n\n### `gcp_region` (required, string)\n\nGCP region where the cloud function is hosted.\n\nExample: `us-central1`\n\n### `cloud_function_name` (required, string)\n\nName of the cloud function in GCP.\n\nExample: `function-1`\n\n### `cloud_function_directory` (required, string)\n\nThe directory in your repository where are you storing the code files for cloud function.\n\nExample: `directory/function-code`\n\n### `credentials` (required, string)\n\nGoogle Service Account with permission to create objects in the specified project. Can be stored as a [repository secret](https://docs.github.com/en/actions/reference/encrypted-secrets)\n\n## Contributing\n\nSee the [Contributing Guide](CONTRIBUTING.md) for additional information.\n\nTo execute tests locally (requires that `docker` and `docker-compose` are installed):\n\n```bash\ndocker-compose run test\n```\n\n## Credits\n\nThis Github Action was originally written by [Jash Parekh](https://github.com/jashparekh).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjashparekh%2Fcloud-functions-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjashparekh%2Fcloud-functions-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjashparekh%2Fcloud-functions-action/lists"}