Skip to content

Commit

Permalink
Merge pull request #707 from G-Rath/patch-1
Browse files Browse the repository at this point in the history
docs: improve sentence structure slightly
  • Loading branch information
shivammathur committed Mar 4, 2023
2 parents fb1ad7f + ae98bca commit 1b08836
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ These tools can be set up globally using the `tools` input. It accepts a string

When you specify just the major version or the version in `major.minor` format, the latest patch version matching the input will be setup.

Except for major versions of `composer`, For other tools when you specify only the `major` version or the version in `major.minor` format for any tool you can get rate limited by GitHub's API. To avoid this, it is recommended to provide a [`GitHub` OAuth token](https://github.com/shivammathur/setup-php#composer-github-oauth "Composer GitHub OAuth").
With the exception of major versions of `composer`, if you specify only the `major` version or the version in `major.minor` format for a tool you can get rate limited by GitHub's API. To avoid this, it is recommended to provide a [`GitHub` OAuth token](https://github.com/shivammathur/setup-php#composer-github-oauth "Composer GitHub OAuth").
You can do that by setting `GITHUB_TOKEN` environment variable. The `COMPOSER_TOKEN` environment variable has been deprecated in favor of `GITHUB_TOKEN` and will be removed in the next major version.

```yaml
Expand Down

0 comments on commit 1b08836

Please sign in to comment.