Bump minitest-hooks from 1.5.0 to 1.5.1 #495
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@v3 | |
# 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.LICENSED_CI_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 |