{"id":46728806,"url":"https://github.com/gaggle/elixir_script","last_synced_at":"2026-03-09T14:33:05.283Z","repository":{"id":187073557,"uuid":"675841662","full_name":"gaggle/elixir_script","owner":"gaggle","description":"Run Elixir code in workflow steps","archived":false,"fork":false,"pushed_at":"2025-11-26T21:07:11.000Z","size":191,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-21T05:28:06.952Z","etag":null,"topics":["elixir","github-actions"],"latest_commit_sha":null,"homepage":"https://github.com/marketplace/actions/elixir-script","language":"Elixir","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/gaggle.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":"2023-08-07T21:22:41.000Z","updated_at":"2025-11-26T21:06:40.000Z","dependencies_parsed_at":"2023-11-23T16:25:09.186Z","dependency_job_id":"4152780e-8815-4894-b745-85081e425f0b","html_url":"https://github.com/gaggle/elixir_script","commit_stats":null,"previous_names":["gaggle/elixir_script"],"tags_count":31,"template":false,"template_full_name":null,"purl":"pkg:github/gaggle/elixir_script","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gaggle%2Felixir_script","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gaggle%2Felixir_script/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gaggle%2Felixir_script/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gaggle%2Felixir_script/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gaggle","download_url":"https://codeload.github.com/gaggle/elixir_script/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gaggle%2Felixir_script/sbom","scorecard":{"id":417065,"data":{"date":"2025-08-11","repo":{"name":"github.com/gaggle/elixir_script","commit":"1452e9eb18ed7ddaa917fbccca575dc9bf94ad94"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.2,"checks":[{"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":"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/30 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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: jobLevel 'packages' permission set to 'write': .github/workflows/ci-cd.yml:122","Warn: jobLevel 'contents' permission set to 'write': .github/workflows/ci-cd.yml:144","Warn: no topLevel permission defined: .github/workflows/ci-cd.yml:1","Warn: no topLevel permission defined: .github/workflows/examples.yml:1","Warn: no topLevel permission defined: .github/workflows/move-tags.yml:1"],"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":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"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":"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":8,"reason":"2 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-vq52-99r9-h5pw","Warn: Project is vulnerable to: GHSA-9fm9-hp7p-53mf"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"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-cd.yml:107: update your workflow using https://app.stepsecurity.io/secureworkflow/gaggle/elixir_script/ci-cd.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci-cd.yml:146: update your workflow using https://app.stepsecurity.io/secureworkflow/gaggle/elixir_script/ci-cd.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci-cd.yml:167: update your workflow using https://app.stepsecurity.io/secureworkflow/gaggle/elixir_script/ci-cd.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci-cd.yml:38: update your workflow using https://app.stepsecurity.io/secureworkflow/gaggle/elixir_script/ci-cd.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci-cd.yml:39: update your workflow using https://app.stepsecurity.io/secureworkflow/gaggle/elixir_script/ci-cd.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci-cd.yml:47: update your workflow using https://app.stepsecurity.io/secureworkflow/gaggle/elixir_script/ci-cd.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci-cd.yml:48: update your workflow using https://app.stepsecurity.io/secureworkflow/gaggle/elixir_script/ci-cd.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci-cd.yml:59: update your workflow using https://app.stepsecurity.io/secureworkflow/gaggle/elixir_script/ci-cd.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci-cd.yml:124: update your workflow using https://app.stepsecurity.io/secureworkflow/gaggle/elixir_script/ci-cd.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci-cd.yml:125: update your workflow using https://app.stepsecurity.io/secureworkflow/gaggle/elixir_script/ci-cd.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci-cd.yml:127: update your workflow using https://app.stepsecurity.io/secureworkflow/gaggle/elixir_script/ci-cd.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci-cd.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/gaggle/elixir_script/ci-cd.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci-cd.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/gaggle/elixir_script/ci-cd.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci-cd.yml:69: update your workflow using https://app.stepsecurity.io/secureworkflow/gaggle/elixir_script/ci-cd.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci-cd.yml:72: update your workflow using https://app.stepsecurity.io/secureworkflow/gaggle/elixir_script/ci-cd.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci-cd.yml:82: update your workflow using https://app.stepsecurity.io/secureworkflow/gaggle/elixir_script/ci-cd.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci-cd.yml:92: update your workflow using https://app.stepsecurity.io/secureworkflow/gaggle/elixir_script/ci-cd.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci-cd.yml:93: update your workflow using https://app.stepsecurity.io/secureworkflow/gaggle/elixir_script/ci-cd.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/examples.yml:105: update your workflow using https://app.stepsecurity.io/secureworkflow/gaggle/elixir_script/examples.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/examples.yml:118: update your workflow using https://app.stepsecurity.io/secureworkflow/gaggle/elixir_script/examples.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/examples.yml:131: update your workflow using https://app.stepsecurity.io/secureworkflow/gaggle/elixir_script/examples.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/examples.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/gaggle/elixir_script/examples.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/examples.yml:52: update your workflow using https://app.stepsecurity.io/secureworkflow/gaggle/elixir_script/examples.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/examples.yml:77: update your workflow using https://app.stepsecurity.io/secureworkflow/gaggle/elixir_script/examples.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/examples.yml:40: update your workflow using https://app.stepsecurity.io/secureworkflow/gaggle/elixir_script/examples.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/examples.yml:65: update your workflow using https://app.stepsecurity.io/secureworkflow/gaggle/elixir_script/examples.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/examples.yml:90: update your workflow using https://app.stepsecurity.io/secureworkflow/gaggle/elixir_script/examples.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/move-tags.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/gaggle/elixir_script/move-tags.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/move-tags.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/gaggle/elixir_script/move-tags.yml/main?enable=pin","Warn: containerImage not pinned by hash: .github/Dockerfile:1","Warn: containerImage not pinned by hash: .github/Dockerfile:12","Warn: containerImage not pinned by hash: .github/Dockerfile:28","Info:   0 out of  11 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of  18 third-party GitHubAction dependencies pinned","Info:   0 out of   3 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"}}]},"last_synced_at":"2025-08-19T00:11:15.719Z","repository_id":187073557,"created_at":"2025-08-19T00:11:15.719Z","updated_at":"2025-08-19T00:11:15.719Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30299087,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T13:46:43.843Z","status":"ssl_error","status_checked_at":"2026-03-09T13:46:42.821Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["elixir","github-actions"],"created_at":"2026-03-09T14:33:04.626Z","updated_at":"2026-03-09T14:33:05.259Z","avatar_url":"https://github.com/gaggle.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ElixirScript\n\nThis action makes it easy to quickly write and execute an Elixir script in your workflow.\n\nTo use this action, provide an input named `script` that contains Elixir code:\n\n```yaml\n- uses: gaggle/elixir_script@v0\n  with:\n    script: |\n      IO.puts(\"Magic, just like the potions in Elixir ✨\")\n```\n\n### Using Script Files\n\nYou can also provide a path to an Elixir script file instead of inline code:\n\n```yaml\n- uses: actions/checkout@v4\n- uses: gaggle/elixir_script@v0\n  with:\n    script: ./.github/scripts/my_script.exs\n```\n\nThe action automatically detects if the `script` input is a file path and will read and execute that file:\n\n```elixir\n# .github/scripts/my_script.exs\n{200, issues, _} = Tentacat.Issues.list(client, \"gaggle\", \"elixir_script\")\n\nissues\n|\u003e Enum.filter(\u0026 \u00261[\"state\"] == \"open\")\n|\u003e Enum.map(\u0026 \"- ##{\u00261[\"number\"]}: #{\u00261[\"title\"]}\")\n|\u003e Enum.join(\"\\n\")\n```\n\n### Bindings\n\nThe following arguments are available in the script's bindings:\n\n* `context`: A map containing the context of the workflow run.\n  It can be accessed like this:\n  ```yaml\n  script: |\n    \"🚀 Pushed to #{context.payload.repository.name} by @#{context.actor}! \n  ```\n* `client`: A pre-authenticated [Tentacat][tentacat] GitHub client.\n  It can be used like this:\n  ```yaml\n  script: |\n    {200, user, _} = Tentacat.Users.find(client, \"gaggle\")\n    IO.puts(\"🤔\" \u003c\u003e user[\"name\"]) \n  ```\n  You can go to the [Tentacat project page][tentacat]\n  or read [the project's Hexdocs documentation][tentacat-docs]\n  for how to use all its features.\n\n_These bindings are already defined, so you don't have to import them._\n\n### Outputs\n\nThe return value of the script will be in the step's `outputs.result`:\n\n```yaml\n- uses: gaggle/elixir_script@v0\n  id: script\n  with:\n    script: |\n      \"Oh hi Mark!\"\n\n- name: Get result\n  run: echo \"${{steps.script.outputs.result}}\"\n```\n\nSee [.github/workflows/examples.yml](.github/workflows/examples.yml) for more examples.\n\n## Acknowledgements\n\n### Inspired by [GitHub Script][github-script]\n\nThis Elixir Script action is based on the [GitHub Script action][github-script],\nwhich is primarily built around Javascript.\nElixir Script adapts its interfaces and functionality to the Elixir environment,\naiming to provide a seamless experience for Elixir developers.\nMany thanks to the creators and contributors of GitHub Script!\n\n### Tentacat\n\nThe GitHub library is by [Eduardo Gurgel][eduardo],\nhuge thanks to Eduardo and contributors for making such a useful project available.\n\n## Releasing\n\n[New releases](https://github.com/gaggle/elixir_script/releases) are automatically created\nwhen [`.pkgx.yaml`](.pkgx.yaml)'s `VERSION` is incremented.\nThe release must then be edited and then immediately resaved to publish it to the Actions Marketplace\n\n(This is a built-in limitation of GitHub releases\nthat prevents Marketplace releases from being automated)\n\n[eduardo]: https://github.com/edgurgel\n\n[github-script]: https://github.com/marketplace/actions/github-script\n\n[tentacat]: https://github.com/edgurgel/tentacat\n\n[tentacat-docs]: https://hexdocs.pm/tentacat\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgaggle%2Felixir_script","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgaggle%2Felixir_script","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgaggle%2Felixir_script/lists"}