{"id":21730984,"url":"https://github.com/nearform-actions/github-action-gcp-secrets","last_synced_at":"2026-04-27T00:32:08.040Z","repository":{"id":148017104,"uuid":"616482793","full_name":"nearform-actions/github-action-gcp-secrets","owner":"nearform-actions","description":"GitHub action to create or update GCP secrets only if required","archived":false,"fork":false,"pushed_at":"2025-12-04T17:44:42.000Z","size":2791,"stargazers_count":1,"open_issues_count":15,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-02-10T23:57:59.270Z","etag":null,"topics":["gcp","github-actions","google-cloud"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nearform-actions.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2023-03-20T13:29:13.000Z","updated_at":"2025-08-27T11:23:56.000Z","dependencies_parsed_at":"2023-04-17T06:04:08.177Z","dependency_job_id":"83c533e7-2ec0-439a-822a-2988d3a642b1","html_url":"https://github.com/nearform-actions/github-action-gcp-secrets","commit_stats":null,"previous_names":[],"tags_count":26,"template":false,"template_full_name":null,"purl":"pkg:github/nearform-actions/github-action-gcp-secrets","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nearform-actions%2Fgithub-action-gcp-secrets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nearform-actions%2Fgithub-action-gcp-secrets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nearform-actions%2Fgithub-action-gcp-secrets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nearform-actions%2Fgithub-action-gcp-secrets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nearform-actions","download_url":"https://codeload.github.com/nearform-actions/github-action-gcp-secrets/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nearform-actions%2Fgithub-action-gcp-secrets/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32318417,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"ssl_error","status_checked_at":"2026-04-26T23:26:25.802Z","response_time":129,"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":["gcp","github-actions","google-cloud"],"created_at":"2024-11-26T04:19:04.909Z","updated_at":"2026-04-27T00:32:08.025Z","avatar_url":"https://github.com/nearform-actions.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# github-action-gcp-secrets\n\nGitHub action to create or update GCP secrets only if required.\nThe secret is created if it doesn't exist; a new version is added if the new one is different from the last version.\n\n\n## Input\n\n| input        | required | description |\n|--------------|----------|-------------|\n| `secrets`    | yes      | The list of secrets. \u003cbr /\u003eThe attribute should be passed as a multiline string in the format `secret-name:secret-value` for each secret. |\n| `project_id` | no       | The GCP project identifier. If this parameter is not set, the default project is used. |\n\n\nSince the `secrets` are multiline, the `quote` is required. E.g:\n\n```yaml\nsecret1:\"${{ secrets.SECRET_1 }}\"\nsecret2:\"${{ secrets.SECRET_2 }}\"\n```\n\n## Standard Usage\n\nConfigure a workflow to run a job when continuous delivery is required.\n\n```yaml\njobs:\n  provision:\n    name: 'Provision and deploy'\n    runs-on: ubuntu-latest\n    permissions:\n      contents: 'read'\n      id-token: write\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: 'Authenticate with GCP'\n        uses: google-github-actions/auth@v1\n        with:\n          workload_identity_provider: ${{ inputs.GCP_WORKLOAD_IDENTITY_PROVIDER }}\n          service_account: ${{ inputs.GCP_SERVICE_ACCOUNT }}\n\n      - name: 'Set up Cloud SDK'\n        uses: google-github-actions/setup-gcloud@v1\n        with:\n          project_id: ${{ inputs.GCP_PROJECT_ID }}\n\n      - uses: nearform-actions/github-action-gcp-secrets@v1\n        with:\n          secrets: |-\n            secret1:\"${{ secrets.SECRET_1 }}\"\n            secret2:\"${{ secrets.SECRET_2 }}\"\n\n     ...\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnearform-actions%2Fgithub-action-gcp-secrets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnearform-actions%2Fgithub-action-gcp-secrets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnearform-actions%2Fgithub-action-gcp-secrets/lists"}