scientific-python / circleci-artifacts-redirector-action

GitHub Action to add a GitHub status link to a CircleCI artifact.
MIT License
14 stars 10 forks source link

WIP: Require API token #41

Closed larsoner closed 1 year ago

larsoner commented 1 year ago

I tried this approach but it seems to have not worked here, despite having the token:

https://github.com/mne-tools/mne-python/actions/runs/4670442712/jobs/8270174430

##[debug]17:44:26 GMT+0000 (Coordinated Universal Time)
##[debug]Considering CircleCI jobs named: ci/circleci: build_docs,ci/circleci: build_docs_main
##[debug]context:    ci/circleci: build_docs
##[debug]state:      pending
##[debug]target_url: https://circleci.com/gh/mne-tools/mne-python/538[34](https://github.com/mne-tools/mne-python/actions/runs/4670442712/jobs/8270174430#step:2:35)
##[debug]org:   mne-tools
##[debug]repo:  mne-python
##[debug]build: 5[38](https://github.com/mne-tools/mne-python/actions/runs/4670442712/jobs/8270174430#step:2:39)34
##[debug]Fetching JSON: https://circleci.com/api/v2/project/gh/mne-tools/mne-python/53834/artifacts
##[debug]Successfully read CircleCI API token ***
##[debug]Artifacts JSON (status=[40](https://github.com/mne-tools/mne-python/actions/runs/4670442712/jobs/8270174430#step:2:41)4):
##[debug]{"message":"Job not found."}