Skip to content

Bump ruby/setup-ruby from 1.204.0 to 1.206.0 #655

Bump ruby/setup-ruby from 1.204.0 to 1.206.0

Bump ruby/setup-ruby from 1.204.0 to 1.206.0 #655

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@bfefad842bb982ff05b233bcbc1571d97a87e69f
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