Collection of common GitHub Actions for Phrase.
License checks for Elixir, Ruby, JS.
Create .github/workflows/lawa-(js|ruby|elixir)-ci.yml
in your repo.
Example:
name: CI
on: [ push ]
jobs:
lawa-ruby-ci:
uses: phrase/actions/.github/workflows/lawa-ruby-ci.yml@main
with:
decisions-file: license-decisions.yml
secrets:
github-token: ${{ secrets.GH_ACCESS_TOKEN }}
Create license-decisions.yml
in your repo.
Example:
---
- - :inherit_from
- url: https://raw.githubusercontent.com/phrase/lawa/master/config/license-decisions.yml
authorization: token $GITHUB_TOKEN
Required Pass GitHub token. Needs access to repos and packages.
Optional OTP version, defaults to 24.2
.
Optional Elixir version, defaults to 1.13.1
.
Optional Ruby version for installing lawa
gem, defaults to 3.0.3
.
Optional Ruby bundler version for installing lawa
gem, defaults to 2.1.4
.
Optional Path to decisions file, defaults to license-decisions.yml
.
Optional Ruby version for installing lawa
gem and gems from Gemfile
in the project, defaults to 2.7.3
.
Optional Path to decisions file, defaults to license-decisions.yml
.
Optional Node version. Defaults to 12.13.0
Optional Path to folder with package.json
. Defaults to .
.
Optional Ruby version for installing lawa
gem and gems from Gemfile
in the project, defaults to 2.7.3
.
Optional Path to decisions file, defaults to license-decisions.yml
.