Files
actions-sync/.github/workflows/licensed.yml
dependabot[bot] 403f0bb25e Bump ruby/setup-ruby from 1.171.0 to 1.172.0
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.171.0 to 1.172.0.
- [Release notes](https://github.com/ruby/setup-ruby/releases)
- [Commits](22fdc77bf4...d4526a5553)

---
updated-dependencies:
- dependency-name: ruby/setup-ruby
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-29 22:51:37 +00:00

52 lines
948 B
YAML

name: licenses check
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
# github/licensed-ci
permissions:
pull-requests: write
contents: write
jobs:
licensed:
name: licensed check
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- run: go version
- run: go mod vendor
# Ruby is required for licensed
- uses: ruby/setup-ruby@d4526a55538b775af234ba4af27118ed6f8f6677
with:
ruby-version: "3.2"
- uses: github/setup-licensed@v1
with:
version: 4.x
- uses: github/licensed-ci@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
workflow: branch
env:
GOFLAGS: "-mod=vendor"