{"id":40456367,"url":"https://github.com/joinflux/firebase-tools","last_synced_at":"2026-04-06T11:01:39.393Z","repository":{"id":41975425,"uuid":"392858613","full_name":"joinflux/firebase-tools","owner":"joinflux","description":"GitHub Action for interacting with Firebase","archived":false,"fork":false,"pushed_at":"2026-03-23T09:16:59.000Z","size":24,"stargazers_count":9,"open_issues_count":1,"forks_count":9,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-03-29T13:33:01.815Z","etag":null,"topics":["firebase","github-actions"],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/joinflux.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":"2021-08-05T00:31:21.000Z","updated_at":"2026-03-04T22:58:30.000Z","dependencies_parsed_at":"2023-01-04T16:47:34.076Z","dependency_job_id":null,"html_url":"https://github.com/joinflux/firebase-tools","commit_stats":{"total_commits":8,"total_committers":2,"mean_commits":4.0,"dds":0.125,"last_synced_commit":"e81c4d14c71f3f11dea1abce72e39f00963a78b5"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/joinflux/firebase-tools","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joinflux%2Ffirebase-tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joinflux%2Ffirebase-tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joinflux%2Ffirebase-tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joinflux%2Ffirebase-tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joinflux","download_url":"https://codeload.github.com/joinflux/firebase-tools/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joinflux%2Ffirebase-tools/sbom","scorecard":{"id":529362,"data":{"date":"2025-08-11","repo":{"name":"github.com/joinflux/firebase-tools","commit":"63b87007e48e4322e49c0b9aaf7afccb90a0027f"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.7,"checks":[{"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/release.yaml: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":"Code-Review","score":4,"reason":"Found 3/7 approved changesets -- score normalized to 4","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":"Maintained","score":6,"reason":"8 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 6","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"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":"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":"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":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"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":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/release.yaml:8"],"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":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"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":"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/release.yaml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/joinflux/firebase-tools/release.yaml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yaml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/joinflux/firebase-tools/release.yaml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yaml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/joinflux/firebase-tools/release.yaml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yaml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/joinflux/firebase-tools/release.yaml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yaml:35: update your workflow using https://app.stepsecurity.io/secureworkflow/joinflux/firebase-tools/release.yaml/master?enable=pin","Warn: containerImage not pinned by hash: Dockerfile:1: pin your Docker image by updating node:20 to node:20@sha256:572a90df10a58ebb7d3f223d661d964a6c2383a9c2b5763162b4f631c53dc56a","Warn: containerImage not pinned by hash: Dockerfile.alpine:1: pin your Docker image by updating node:20-alpine to node:20-alpine@sha256:df02558528d3d3d0d621f112e232611aecfee7cbc654f6b375765f72bb262799","Warn: npmCommand not pinned by hash: Dockerfile:11","Warn: npmCommand not pinned by hash: Dockerfile.alpine:11","Info:   0 out of   1 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   4 third-party GitHubAction dependencies pinned","Info:   0 out of   2 containerImage dependencies pinned","Info:   0 out of   2 npmCommand 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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 17 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-20T05:20:18.925Z","repository_id":41975425,"created_at":"2025-08-20T05:20:18.925Z","updated_at":"2025-08-20T05:20:18.925Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31469743,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-06T08:36:52.050Z","status":"ssl_error","status_checked_at":"2026-04-06T08:36:51.267Z","response_time":112,"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":["firebase","github-actions"],"created_at":"2026-01-20T17:34:48.249Z","updated_at":"2026-04-06T11:01:39.370Z","avatar_url":"https://github.com/joinflux.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitHub Actions for Firebase\n\nThis Action for [firebase-tools](https://github.com/firebase/firebase-tools)\nenables arbitrary actions with the `firebase` command-line client and it provides\na node environment with with firebase-tools installed and ready to be consumed.\n\n## Using\n\nTo use this action, make sure to refer to: `joinflux/firebase-tools`\n\nWe also try to release tagged versions that you can refer to:\n`joinflux/firebase-tools@v15.4.0`\n\nAlternatively, refer to `master` to get the most up to date version. However\nplease be aware that it might be unstable: `joinflux/firebase-tools@master`\n\n### Complete Example\n\n```\n  - name: Deploy to Firebase\n    uses: joinflux/firebase-tools@v15.4.0\n    with:\n      args: deploy --only hosting\n    env:\n      FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}\n```\n\n## Inputs\n\n* `args` - **Required**. This is the arguments you want to use for the `firebase` cli\n\n## Environment variables\n\n* `FIREBASE_TOKEN` - **Required if GCP_SA_KEY is not set**. The token to use for\n  authentication. This token can be aquired through the `firebase login:ci`\n  command.\n\n* `GCP_SA_KEY` - **Required if FIREBASE_TOKEN is not set**. A base64 encoded\n  private key (json format) for a Service Account with the `Firebase Admin` role\n  in the project. If you're deploying functions, you would also need the `Cloud\n  Functions Developer` role.  Since the deploy service account is using the App\n  Engine default service account in the deploy process, it also needs the\n  `Service Account User` role.  If you're only doing Hosting, `Firebase Hosting\n  Admin` is enough.\n\n* `PROJECT_ID` - **Optional**. To specify a specific project to use for all\n  commands. Not required if you specify a project in your `.firebaserc` file.\n\n* `PROJECT_PATH` - **Optional**. The path to the folder containing\n  `firebase.json` if it doesn't exist at the root of your repository. e.g.\n  `./my-app`\n\n## Example\n\nTo authenticate with Firebase, and deploy to Firebase Hosting:\n\n```yaml\nname: Build and Deploy\non:\n  push:\n    branches:\n      - master\n\njobs:\n  build:\n    name: Build\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Repo\n        uses: actions/checkout@master\n      - name: Install Dependencies\n        run: npm install\n      - name: Build\n        run: npm run build-prod\n      - name: Archive Production Artifact\n        uses: actions/upload-artifact@master\n        with:\n          name: dist\n          path: dist\n  deploy:\n    name: Deploy\n    needs: build\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Repo\n        uses: actions/checkout@master\n      - name: Download Artifact\n        uses: actions/download-artifact@master\n        with:\n          name: dist\n          path: dist\n      - name: Deploy to Firebase\n        uses: joinflux/firebase-tools@master\n        with:\n          args: deploy --only hosting\n        env:\n          FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}\n```\n\nAlternatively:\n\n```yaml\n        env:\n          GCP_SA_KEY: ${{ secrets.GCP_SA_KEY }}\n```\n\nIf you have multiple hosting environments you can specify which one in the args line.\ne.g. `args: deploy --only hosting:[environment name]`\n\nIf you want to add a message to a deployment (e.g. the Git commit message) you need to take extra care and escape the quotes or the YAML breaks.\n\n```yaml\n        with:\n          args: deploy --message \\\"${{ github.event.head_commit.message }}\\\"\n```\n\n### Running a script\n\nIf you'd like to run a script that depends on `firebase-tools`, simply use the\nrelative path to the script:\n\n```js\n// ./my-script.js \nconst firebase = require(\"firebase-tools\")\n// do something with firebase\n```\n\n```yaml\n      - name: Run script\n        uses: joinflux/firebase-tools@v15.4.0\n        with:\n          args: \"./my-script.sh\"\n        env:\n          FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}\n```\n\n## License\n\nThe Dockerfile and associated scripts and documentation in this project are released under the [MIT License](LICENSE).\n\n### Recommendation\n\nIf you decide to do seperate jobs for build and deployment (which is probably advisable), then make sure to clone your repo as the Firebase-cli requires the firebase repo to deploy (specifically the `firebase.json`)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoinflux%2Ffirebase-tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoinflux%2Ffirebase-tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoinflux%2Ffirebase-tools/lists"}