Skip to content

Commit

Permalink
MAINT: Rename (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
larsoner authored Jun 5, 2024
1 parent 314e54d commit b40c34d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
steps:
- name: GitHub Action step
id: step1
uses: larsoner/circleci-artifacts-redirector-action@v1
uses: scientific-python/circleci-artifacts-redirector-action@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
api-token: ${{ secrets.CIRCLECI_TOKEN }}
Expand Down
4 changes: 2 additions & 2 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7989,7 +7989,7 @@ async function run() {
core.debug(`state: ${state}`)
core.debug(`target_url: ${payload.target_url}`)
// e.g., https://circleci.com/gh/mne-tools/mne-python/53315
// e.g., https://circleci.com/gh/larsoner/circleci-artifacts-redirector-action/94?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link
// e.g., https://circleci.com/gh/scientific-python/circleci-artifacts-redirector-action/94?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link
// Set the new status
const parts = payload.target_url.split('?')[0].split('/')
const orgId = parts.slice(-3)[0]
Expand All @@ -8008,7 +8008,7 @@ async function run() {
core.debug(`Successfully read CircleCI API token ${apiToken}`)
}
const headers = {'Circle-Token': apiToken, 'accept': 'application/json', 'user-agent': 'curl/7.85.0'}
// e.g., https://circleci.com/api/v2/project/gh/larsoner/circleci-artifacts-redirector-action/94/artifacts
// e.g., https://circleci.com/api/v2/project/gh/scientific-python/circleci-artifacts-redirector-action/94/artifacts
const response = await fetch(artifacts_url, {headers})
const artifacts = await response.json()
core.debug(`Artifacts JSON (status=${response.status}):`)
Expand Down
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ async function run() {
core.debug(`state: ${state}`)
core.debug(`target_url: ${payload.target_url}`)
// e.g., https://circleci.com/gh/mne-tools/mne-python/53315
// e.g., https://circleci.com/gh/larsoner/circleci-artifacts-redirector-action/94?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link
// e.g., https://circleci.com/gh/scientific-python/circleci-artifacts-redirector-action/94?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link
// Set the new status
const parts = payload.target_url.split('?')[0].split('/')
const orgId = parts.slice(-3)[0]
Expand All @@ -53,7 +53,7 @@ async function run() {
core.debug(`Successfully read CircleCI API token ${apiToken}`)
}
const headers = {'Circle-Token': apiToken, 'accept': 'application/json', 'user-agent': 'curl/7.85.0'}
// e.g., https://circleci.com/api/v2/project/gh/larsoner/circleci-artifacts-redirector-action/94/artifacts
// e.g., https://circleci.com/api/v2/project/gh/scientific-python/circleci-artifacts-redirector-action/94/artifacts
const response = await fetch(artifacts_url, {headers})
const artifacts = await response.json()
core.debug(`Artifacts JSON (status=${response.status}):`)
Expand Down

0 comments on commit b40c34d

Please sign in to comment.