Skip to content

Bump actions/setup-java from 4.4.0 to 4.5.0 #614

Bump actions/setup-java from 4.4.0 to 4.5.0

Bump actions/setup-java from 4.4.0 to 4.5.0 #614

Workflow file for this run

name: Verify cached license metadata
on:
# run on pushes to the default branch
push:
branches:
- master
# run on all pull request events
pull_request:
types:
- opened
- reopened
- synchronize
# run on demand
workflow_dispatch:
jobs:
licensed:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
# checkout the repo
- uses: actions/checkout@v4
# set up tooling
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
# run licensed
- uses: github/licensed-ci@v1
with:
# override the command to use licensed built from this repo
command: bundle exec licensed
# changes made using GITHUB_TOKEN will not re-trigger this action.
# set a custom token so that added or changed cached license files
# will cause this workflow to run and validate cached contents
#
# see https://docs.github.com/en/actions/security-guides/automatic-token-authentication#using-the-github_token-in-a-workflow
# for additional details on GITHUB_TOKEN not re-triggering this action
github_token: ${{ secrets.GITHUB_TOKEN }}
# the "push" workflow updates license metadata files on the branch being examined.
# e.g. when the action is run on main, changes are pushed to main
# the "branch" workflow creates a new branch for license file updates.
# e.g. when the action is run on main, changes are pushed to a new "main-licenses" branch
# see https://github.com/github/licensed-ci for more details
workflow: branch