Skip to content

chore: add badge upload and conventional commits badge #11

chore: add badge upload and conventional commits badge

chore: add badge upload and conventional commits badge #11

name: License Checker
on:
push:
branches:
- main
- develop
pull_request:
types: [opened, synchronize]
workflow_dispatch:
jobs:
license-checker:
permissions:
contents: read
packages: write
runs-on: self-hosted
if: |
"contains(github.event.head_commit.message, 'release-please--branches--main')" ||
${{ github.event_name == 'pull_request' }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup JDK 18
uses: actions/setup-java@v3
with:
java-version: "18"
distribution: "temurin"
cache: maven
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: "3.2"
bundler-cache: true
- name: Install license_finder
run: |
gem install license_finder
- name: Check licenses
run: |
./tools/license-checker.sh