{"id":37588320,"url":"https://github.com/gha-utilities/sass-build","last_synced_at":"2026-01-16T09:49:06.000Z","repository":{"id":36911420,"uuid":"215634305","full_name":"gha-utilities/sass-build","owner":"gha-utilities","description":"GitHub Action JavaScript wrapper runs Sass build with provided Inputs","archived":false,"fork":false,"pushed_at":"2025-10-02T07:02:04.000Z","size":5906,"stargazers_count":24,"open_issues_count":4,"forks_count":6,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-06T07:41:23.304Z","etag":null,"topics":["github-action","javascript-utility","sass-loader"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gha-utilities.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}},"created_at":"2019-10-16T20:04:29.000Z","updated_at":"2025-06-26T06:41:30.000Z","dependencies_parsed_at":"2024-03-12T23:34:31.478Z","dependency_job_id":"09c19cf0-7913-4ce2-9b94-a63a8c5fb768","html_url":"https://github.com/gha-utilities/sass-build","commit_stats":{"total_commits":216,"total_committers":5,"mean_commits":43.2,"dds":0.4120370370370371,"last_synced_commit":"400d8c244fab46ebbda471f7a0a076d877c297cb"},"previous_names":[],"tags_count":52,"template":false,"template_full_name":null,"purl":"pkg:github/gha-utilities/sass-build","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gha-utilities%2Fsass-build","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gha-utilities%2Fsass-build/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gha-utilities%2Fsass-build/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gha-utilities%2Fsass-build/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gha-utilities","download_url":"https://codeload.github.com/gha-utilities/sass-build/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gha-utilities%2Fsass-build/sbom","scorecard":{"id":425475,"data":{"date":"2025-08-11","repo":{"name":"github.com/gha-utilities/sass-build","commit":"c15aba209f1cfe51f43e319f2724558112cd9336"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"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":"Dangerous-Workflow","score":-1,"reason":"no workflows found","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":"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":"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":"Code-Review","score":0,"reason":"Found 1/11 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":"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":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: GNU Affero General Public License v3.0: 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 '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":"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":"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":"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 25 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-19T02:09:03.478Z","repository_id":36911420,"created_at":"2025-08-19T02:09:03.478Z","updated_at":"2025-08-19T02:09:03.478Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28478049,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T06:30:42.265Z","status":"ssl_error","status_checked_at":"2026-01-16T06:30:16.248Z","response_time":107,"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":["github-action","javascript-utility","sass-loader"],"created_at":"2026-01-16T09:49:05.290Z","updated_at":"2026-01-16T09:49:05.980Z","avatar_url":"https://github.com/gha-utilities.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## GHA Sass Build\n[heading__title]:\n  #gha-sass-build\n  \"\u0026#x2B06; Top of ReadMe File\"\n\n\nGitHub Action JavaScript wrapper runs Sass build with provided Inputs\n\n\n## [![Byte size of gha-sass][badge__master__gha_sass_build__source_code]][gha_sass_build__master__source_code] [![Open Issues][badge__issues__gha_sass_build]][issues__gha_sass_build] [![Open Pull Requests][badge__pull_requests__gha_sass_build]][pull_requests__gha_sass_build] [![Latest commits][badge__commits__gha_sass_build__master]][commits__gha_sass_build__master]\n\n\n---\n\n\n#### Table of Contents\n\n\n- [:arrow_up: Top of ReadMe File][heading__title]\n\n- [:building_construction: Requirements][heading__requirements]\n\n- [:zap: Quick Start][heading__quick_start]\n\n- [\u0026#x1F5D2; Notes][notes]\n\n- [:card_index: Attribution][heading__attribution]\n\n- [:balance_scale: License][heading__license]\n\n\n---\n\n\n\n## Requirements\n[heading__requirements]:\n  #requirements\n  \"\u0026#x1F3D7; What is needed prior to making use of this repository\"\n\n\nAccess to GitHub Actions if using on GitHub, or manually assigning environment variables prior to running `npm test`.\n\n\n______\n\n\n## Quick Start\n[heading__quick_start]:\n  #quick-start\n  \"\u0026#9889; Perhaps as easy as one, 2.0,...\"\n\n\nReference the code of this repository within your own `workflow`...\n\n\n```YAML\non:\n  push:\n    branches:\n      - src-pages\n\n\njobs:\n  build_css:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout source Git branch\n        uses: actions/checkout@v2\n        with:\n            ref: src-pages\n            fetch-depth: 10\n            submodules: true\n\n      - name: Make destination directory for compiled CSS\n        run: mkdir -vp /tmp/repo-name/assets/css\n\n      - name: Compile CSS from SCSS files\n        uses: gha-utilities/sass-build@v0.6.1\n        with:\n          source: _scss/main.scss\n          destination: /tmp/repo-name/assets/css/main.css\n\n      - name: Checkout destination Git branch\n        uses: actions/checkout@v2\n        with:\n            ref: pr-pages\n            fetch-depth: 1\n\n      - name: Move compiled CSS to path within pr-pages branch\n        run: mv /tmp/repo-name/assets/css assets/\n\n      - name: Add and Commit changes to pr-pages branch\n        run: |\n          git config --local user.email 'action@github.com'\n          git config --local user.name 'GitHub Action'\n          git add assets/css/*\n          git commit -m 'Updates compiled CSS files'\n\n      - name: Push changes\n        uses: ad-m/github-push-action@master\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          branch: pr-pages\n\n      - name: Initialize Pull Request\n        uses: gha-utilities/init-pull-request@v0.0.4\n        with:\n          pull_request_token: ${{ secrets.GITHUB_TOKEN }}\n          head: pr-pages\n          base: gh-pages\n          title: 'Updates site files from latest Actions build'\n          body: \u003e\n            Perhaps a multi-line description\n            about latest features and such.\n```\n\n\n______\n\n\n## Notes\n[notes]:\n  #notes\n  \"\u0026#x1F5D2; Additional notes and links that may be worth clicking in the future\"\n\n\nTo compile multiple files, define `source` and `destination` similarly to how you would assign `run` multiple commands. Make sure each file in `source` and `destination` are lined up.\n\n\n```YAML\n    - name: Compile main.css from main.scss\n      uses: gha-utilities/sass-build@v0.6.1\n      with:\n        source: |\n          _scss/main.scss\n          _scss/global.scss\n          _scss/articles/post.scss\n        destination: |\n          /tmp/repo-name/assets/css/main.css\n          /tmp/repo-name/assets/css/global.css\n          /tmp/repo-name/assets/css/articles/post.css\n```\n\n\n---\n\n\nTo pass compiled CSS to another workflow utilize the Upload and Download Actions from GitHub...\n\n\n**`.github/workflows/build_css.yml`**\n\n\n```YAML\non:\n  push:\n    branches:\n      - src-pages\n\n\njobs:\n  build_css:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout source Git branch\n        uses: actions/checkout@v2\n        with:\n            ref: src-pages\n            fetch-depth: 10\n            submodules: true\n\n      - name: Make destination directory for compiled CSS\n        run: mkdir -vp /tmp/assets/css\n\n      - name: Compile CSS from SCSS files\n        uses: gha-utilities/sass-build@v0.6.1\n        with:\n          source: _scss/main.scss\n          destination: /tmp/assets/css/main.css\n\n      - name: Upload Complied CSS\n        uses: actions/upload-artifact@v1.0.0\n        with:\n          name: Compiled-CSS\n          path: /tmp/assets/css\n```\n\n\n**`.github/workflows/open_pull_request.yml`**\n\n\n```YAML\non:\n  push:\n    branches:\n      - src-pages\n\n\njobs:\n  open_pull_request:\n    needs: [build_css]\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout destination Git branch\n        uses: actions/checkout@v2\n        with:\n            ref: gh-pages\n            fetch-depth: 1\n            submodules: true\n\n      - name: Download Compiled CSS\n        uses: actions/download-artifact@v1.0.0\n        with:\n          name: Compiled-CSS\n          path: assets/css\n\n      - name: Add and Commit changes to pr-pages branch\n        run: |\n          git config --local user.email 'action@github.com'\n          git config --local user.name 'GitHub Action'\n          git add assets/css/*\n          git commit -m 'Updates compiled CSS files'\n\n      - name: Push changes\n        uses: ad-m/github-push-action@master\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          branch: pr-pages\n\n      - name: Initialize Pull Request\n        uses: gha-utilities/init-pull-request@v0.0.4\n        with:\n          pull_request_token: ${{ secrets.GITHUB_TOKEN }}\n          head: pr-pages\n          base: gh-pages\n          title: 'Updates site files from latest Actions build'\n          body: \u003e\n            Perhaps a multi-line description\n            about latest features and such.\n```\n\n\n---\n\n\nThis repository is influenced by tests preformed by `sass-utilities/gha-sass` which uses Docker powered GitHub Actions to achieve similar results. What differs are that this repository will start faster and enables configuring the build process further, see the [`action.yml`](action.yml) for currently available configurations.\n\n\n______\n\n\n## Attribution\n[heading__attribution]:\n  #attribution\n  \"\u0026#x1F4C7; Resources and individuals that where helpful in building this project so far.\"\n\n\n**Individuals**\n\n\n- [@wendigo Fork](https://github.com/wendigo/sass-build), so far fixed bugs and added sane defaults\n\n\n**Resources**\n\n\n- [GitHub -- Actions Create Pull Request](https://github.com/marketplace/actions/create-pull-request)\n\n- [GitHub -- Creating a JavaScript Action](https://help.github.com/en/articles/creating-a-javascript-action#commit-and-push-your-action-to-github), specifically the `commit-and-push-your-action-to-github` section that states dependencies need to be checked into Git tracking.\n\n- [GitHub -- Node Sass `outfile`](https://github.com/sass/node-sass#outfile)\n\n- [GitHub -- Workflow syntax for GitHub actions](https://help.github.com/en/articles/workflow-syntax-for-github-actions)\n\n- [Sass Language -- JS API Documentation](https://sass-lang.com/documentation/js-api)\n\n- [StackOverflow -- GitHub Actions share Workspace Artifacts between jobs](https://stackoverflow.com/questions/57498605)\n\n- [StackOverflow -- Node.js check if path is file or directory](https://stackoverflow.com/questions/15630770)\n\n- [StackOverflow -- nodejs get file name from absolute path?](https://stackoverflow.com/questions/19811541)\n\n\n______\n\n\n## License\n[heading__license]:\n  #license\n  \"\u0026#x2696; Legal bits of Open Source software\"\n\n\nLegal bits of Open Source software. Note the following license does **not** necessarily apply to any dependencies of this repository, see licensing and documentation for those within there respective sub-directories under `node_modules/`.\n\n\n```\nSass Build GitHub Actions documentation\nCopyright (C) 2023  S0AndS0\n\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU Affero General Public License as published\nby the Free Software Foundation; version 3 of the License.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\nGNU Affero General Public License for more details.\n\nYou should have received a copy of the GNU Affero General Public License\nalong with this program.  If not, see \u003chttps://www.gnu.org/licenses/\u003e.\n```\n\n\n\n[badge__commits__gha_sass_build__master]:\n  https://img.shields.io/github/last-commit/gha-utilities/sass-build/master.svg\n\n[commits__gha_sass_build__master]:\n  https://github.com/gha-utilities/sass-build/commits/master\n  \"\u0026#x1F4DD; History of changes on this branch\"\n\n\n[gha_sass_build__community]:\n  https://github.com/gha-utilities/sass-build/community\n  \"\u0026#x1F331; Dedicated to functioning code\"\n\n\n[badge__issues__gha_sass_build]:\n  https://img.shields.io/github/issues/gha-utilities/sass-build.svg\n\n[issues__gha_sass_build]:\n  https://github.com/gha-utilities/sass-build/issues\n  \"\u0026#x2622; Search for and _bump_ existing issues or open new issues for project maintainer to address.\"\n\n\n[badge__pull_requests__gha_sass_build]:\n  https://img.shields.io/github/issues-pr/gha-utilities/sass-build.svg\n\n[pull_requests__gha_sass_build]:\n  https://github.com/gha-utilities/sass-build/pulls\n  \"\u0026#x1F3D7; Pull Request friendly, though please check the Community guidelines\"\n\n\n[badge__master__gha_sass_build__source_code]:\n  https://img.shields.io/github/repo-size/gha-utilities/sass-build\n\n[gha_sass_build__master__source_code]:\n  https://github.com/gha-utilities/sass-build\n  \"\u0026#x2328; Project source code!\"\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgha-utilities%2Fsass-build","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgha-utilities%2Fsass-build","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgha-utilities%2Fsass-build/lists"}