Action that calculates dependencies for Mix and submits the list to the GitHub Dependency Submission API.
To add support for new Mix.SCM
implementations, see the documentation.
This package is not supposed to be installed directly. Use it inside inside your GitHub Actions instead.
on:
push:
branches:
- "main"
name: "Dependency Submission"
jobs:
report_mix_deps:
name: "Report Mix Dependencies"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: maennchen/mix-dependency-submission@v1.0.0-beta.2
with:
project-name: '[Project Application Name]'
token
- GitHub Token to use for the submission. Defaults to${{ github.token }}
.project-name
- The name of the project. (mix.exs
/project/0
/:app
)project-path
- The path to the the project. Defaults to${{ github.workspace }}
.
None
Copyright 2023 JOSHMARTIN GmbH
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at:
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.