Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MAINT: Rename #49

Merged
merged 1 commit into from
Jun 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading