Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kachick/elm-dependency-submission

Send Elm dependency to GitHub
https://github.com/kachick/elm-dependency-submission

dependencies elm github-actions

Last synced: 2 months ago
JSON representation

Send Elm dependency to GitHub

Awesome Lists containing this project

README

        

# elm-dependency-submission

[![Test & Lint](https://github.com/kachick/elm-dependency-submission/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/kachick/elm-dependency-submission/actions/workflows/ci.yml)

- _**This repository is archived**_
- _**No longer maintained**_

This GitHub Action send elm dependencies list to the [Dependency submission API](https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/using-the-dependency-submission-api). Dependencies then appear in your repository's dependency graph.

## Example

```yaml
name: Send Elm dependencies
on:
push:
branches:
- main

# The API requires write permission on the repository to submit dependencies
permissions:
contents: write

jobs:
elm-dependency-submission:
runs-on: ubuntu-24.04
steps:
- name: 'Checkout Repository'
uses: actions/checkout@v4
- name: Run snapshot action
uses: kachick/elm-dependency-submission@v3
with:
#
# Optional: Default "elm.json". Change it if different in your repository
elm-json-path: elm.json
```

You can see the working image at [here](https://github.com/kachick/elm-dependency-submission/network/dependencies). It is parsing [emobu/elm.json](https://github.com/mobu-of-the-world/emobu/blob/main/elm.json).

Example of snapshot