Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.

kachick/elm-dependency-submission

Repository files navigation

elm-dependency-submission

Test & Lint

  • This repository is archived
  • No longer maintained

This GitHub Action send elm dependencies list to the Dependency submission API. Dependencies then appear in your repository's dependency graph.

Example

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. It is parsing emobu/elm.json.

Example of snapshot