kachick / elm-dependency-submission

Send Elm dependency to GitHub

Home Page:https://github.com/marketplace/actions/elm-dependency-submission

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

elm-dependency-submission

Test & Lint

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-latest
    steps:
      - name: 'Checkout Repository'
        uses: actions/checkout@v4
      - name: Run snapshot action
        uses: kachick/elm-dependency-submission@v2
        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

About

Send Elm dependency to GitHub

https://github.com/marketplace/actions/elm-dependency-submission

License:MIT License


Languages

Language:TypeScript 89.5%Language:Nix 10.5%