Skip to content

Replace deprecated COMPOSER_TOKEN with GITHUB_TOKEN#602

Merged
kenjis merged 1 commit intocodeigniter4:developfrom
paulbalandan:github-oauth-token
Jan 19, 2023
Merged

Replace deprecated COMPOSER_TOKEN with GITHUB_TOKEN#602
kenjis merged 1 commit intocodeigniter4:developfrom
paulbalandan:github-oauth-token

Conversation

@paulbalandan
Copy link
Member

No description provided.

@kenjis
Copy link
Member

kenjis commented Jan 18, 2023

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. 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.
https://github.com/shivammathur/setup-php#wrench-tools-support

@kenjis kenjis added the github_actions Pull requests that update GitHub Actions code label Jan 18, 2023
@kenjis kenjis merged commit 608cfbe into codeigniter4:develop Jan 19, 2023
@kenjis
Copy link
Member

kenjis commented Jan 19, 2023

Thank you! @paulbalandan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants