Skip to content

Bump rubocop-github from 0.20.0 to 0.22.0 #701

Bump rubocop-github from 0.20.0 to 0.22.0

Bump rubocop-github from 0.20.0 to 0.22.0 #701

Workflow file for this run

name: Licensed
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
licensed:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@32110d4e311bd8996b2a82bf2a43b714ccc91777
with:
bundler-cache: true
- name: Build Gem
run: |
mkdir -p $HOME/.gem
touch $HOME/.gem/credentials
chmod 0600 $HOME/.gem/credentials
gem build *.gemspec
- 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