No description
  • JavaScript 99.7%
  • Shell 0.3%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Kevin Dangoor 24a0262590
Update README.md with deprecation notice. (#307)
This action is now deprecated in favor of licensee/setup-licensed.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-02-06 17:17:15 -05:00
.github chore(deps): bump ruby/setup-ruby from 1.202.0 to 1.204.0 2024-12-16 23:53:22 +00:00
.husky migrate to husky v7 2021-11-06 19:13:16 -07:00
.licenses/npm Merge pull request #279 from github/dependabot/npm_and_yarn/octokit-sdks-e0bf4d97f5 2024-12-02 16:05:13 -05:00
dist Ensure that version list won't cause a timeout 2024-08-13 17:09:56 +00:00
lib Ensure that version list won't cause a timeout 2024-08-13 17:09:56 +00:00
tests paginate releases from GitHub API 2022-03-22 15:04:51 -07:00
.gitignore Update .gitignore 2019-09-14 13:13:13 -07:00
.licensed.yml add licensed config + workflow 2019-09-13 18:04:35 -07:00
action.yml feat: update runner to Node.js 20 2024-06-03 18:37:27 -04:00
babel.config.js Set up babel to handle newer Octokit 2024-08-12 19:42:49 +00:00
CODE_OF_CONDUCT.md add CODE_OF_CONDUCT 2023-05-24 13:55:22 -04:00
CODEOWNERS add CODEOWNERS 2023-05-25 10:02:49 -04:00
CONTRIBUTING.md replace references to jonabc org with github org 2023-05-26 09:13:26 -04:00
eslint.config.mjs Migrate eslint configuration 2024-08-12 19:14:56 +00:00
jest.config.js Set up babel to handle newer Octokit 2024-08-12 19:42:49 +00:00
LICENSE update license 2019-09-13 18:04:42 -07:00
package-lock.json chore(deps-dev): bump eslint in the dev-dependencies group 2024-12-16 23:45:26 +00:00
package.json chore(deps-dev): bump eslint in the dev-dependencies group 2024-12-16 23:45:26 +00:00
README.md Update README.md with deprecation notice. (#307) 2025-02-06 17:17:15 -05:00
SECURITY.md add SECURITY file 2023-05-24 15:48:58 -04:00
SUPPORT.md update support to direct users to github/licensed Discussions 2023-05-30 12:08:44 -04:00

setup-licensed

Please note: This action is deprecated and should no longer be used. The team at GitHub has ceased making and accepting code contributions or maintaining the issue tracker. Please migrate your workflows to the licensee/setup-licensed action, which is maintained by the community. A GitHub Action to set up github/licensed for use in action workflows, at the specified version input and target platform. The action will fail if licensed isn't available for the specified version and target platform.

Installing licensed as a Ruby gem

Installing licensed as a Ruby gem requires an Actions environment that supports gem install. The default system Ruby installation that is available in GitHub Actions runners does not support user-installed gems. Please use ruby/setup-ruby or a similar action in your workflow before using this action in order to install licensed as a Ruby gem.

Installing licensed as an executable

Licensed is not available as an executable for any version >= 4.0. Please install licensed as a Ruby gem for these versions

Licensed executables are provided for macOS and linux platforms. When installing a licensed executable, this action will overwrite any version of the executable already installed at the install-dir input.

Installing licensed as an executable requires making API calls to GitHub which can be rate limited and significantly slow down a GitHub Action workflow run. Rate limiting is more likely to happen when using ${{ secrets.GITHUB_TOKEN }} for the github_token input or when leaving the github_token input empty. If you are hitting frequent rate limiting and long action runtimes, please set github_token to a user PAT or install licensed as a Ruby gem.

Usage

See action.yml

list dependencies:

steps:
- uses: actions/checkout@v3

# setup application environment
- uses: actions/setup-node@v3
- run: npm install # install dependencies in local environment

# setup ruby environment before running github/setup-licensed
- uses: ruby/setup-ruby@v1
  with:
    ruby-version: ruby

- uses: github/setup-licensed@v1
  with:
    version: '4.x' # required: supports matching based on string equivalence or node-semver range
    install-dir: /path/to/install/at # optional: defaults to /usr/local/bin
    github_token: # optional: allows users to make authenticated requests to GitHub's APIs

- run: licensed list

For an end-to-end solution to cache and check dependency metadata using GitHub Actions, see licensed-ci.yaml

License

The scripts and documentation in this project are released under the MIT License

Maintainers

  • @ajhenry
  • @lumaxis

Support

You can expect the following support. See SUPPORT for more information.

Contributions

Contributions are welcome! See CONTRIBUTING.md for more information on how to get involved.

Acknowledgement

Huge thank you and appreciation to @jonabc for championing license compliance and maintaining licensed over the years.