chore: Add deprecation messages for GitHub API parameters

This commit is contained in:
Thomas A. Christensen II 2024-02-02 22:09:41 -06:00
parent 15cd07b8f0
commit 4fb3dae2b8

View file

@ -14,14 +14,18 @@ inputs:
description: "GitHub token to access the GitHub Releases API. The default token should be sufficient for all use cases." description: "GitHub token to access the GitHub Releases API. The default token should be sufficient for all use cases."
required: false required: false
default: ${{ github.token }} default: ${{ github.token }}
deprecationMessage: "setup-nextflow@v2 will no longer use the GitHub API. A token will no longer be needed."
cooldown: cooldown:
description: "Time (in seconds) to wait before querying the GitHub Releases API in the case of hitting a rate limit." description: "Time (in seconds) to wait before querying the GitHub Releases API in the case of hitting a rate limit."
required: false required: false
default: "60" default: "60"
deprecationMessage: "setup-nextflow@v2 will no longer use the GitHub API. The cooldown will no longer apply."
max-retries: max-retries:
description: "The number of times that to try querying the GitHub Releases API in case of a rate-limited failure." description: "The number of times that to try querying the GitHub Releases API in case of a rate-limited failure."
required: false required: false
default: "3" default: "3"
deprecationMessage: "setup-nextflow@v2 will no longer use the GitHub API. The retry count will no longer apply."
runs: runs:
using: "node16" using: "node16"
main: "dist/index.js" main: "dist/index.js"