Open kduret opened 5 days ago
the action uses anonymous request instead of github_token provided by the worklow github rest api rate limit (60) can be quickly reached.
github_token
this happens only when using custom jfrog url
1 anonymous request is consumed when using setup-jfrog-cli
name: test-jfrog on: pull_request: jobs: test-jfrog: runs-on: ubuntu-24.04 steps: - name: Check workflow statuses and display token usage before setup-jfrog-cli run: | echo "" echo "" echo "current rest api rate usage using github token:" curl -s -H "Accept: application/vnd.github+json" -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" https://api.github.com/rate_limit | jq .rate.used echo "" echo "" echo "current rest api rate usage for anonymous:" curl -s -H "Accept: application/vnd.github+json" https://api.github.com/rate_limit | jq .rate.used echo "" echo "" - uses: jfrog/setup-jfrog-cli@9fe0f98bd45b19e6e931d457f4e98f8f84461fb5 # v4.4.1 env: JF_URL: <custom_jfrog_url> JF_ACCESS_TOKEN: <access_token> - name: Check workflow statuses and display token usage after setup-jfrog-cli run: | echo "current rest api rate usage using github token:" curl -s -H "Accept: application/vnd.github+json" -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" https://api.github.com/rate_limit | jq .rate.used echo "" echo "" echo "current rest api rate usage for anonymous:" curl -s -H "Accept: application/vnd.github+json" https://api.github.com/rate_limit | jq .rate.used echo "" echo ""
0 anonymous request is consumed when using setup-jfrog-cli
4.4.1
2.67.0
ubuntu-24.04
JFrog Cloud
No response
Hi @kduret, Thanks for reaching out Can you provide the logs frog the WF run?
Describe the bug
the action uses anonymous request instead of
github_token
provided by the worklow github rest api rate limit (60) can be quickly reached.this happens only when using custom jfrog url
Current behavior
1 anonymous request is consumed when using setup-jfrog-cli
Reproduction steps
Expected behavior
0 anonymous request is consumed when using setup-jfrog-cli
Setup JFrog CLI version
4.4.1
JFrog CLI version
2.67.0
Workflow operating system type and version
ubuntu-24.04
JFrog Artifactory version (if relevant)
JFrog Cloud
JFrog Xray version (if relevant)
No response