Skip to content

Latest commit

 

History

History
68 lines (47 loc) · 2.32 KB

README.md

File metadata and controls

68 lines (47 loc) · 2.32 KB

GitHub Dependency Submission Action for Mix

⚠️ This repository is not ready for use. Please check back later.

hex.pm badge Documentation badge .github/workflows/branch_main.yml Coverage Status

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.

Installation

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.1
        with:
          project-name: '[Project Application Name]'

Action Configuration

Inputs

  • 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 }}.

Outputs

None

License

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:

http://www.apache.org/licenses/LICENSE-2.0

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.