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

chore(docs): fix dataset delete script #4906

Merged
merged 3 commits into from Sep 11, 2023
Merged

Conversation

binoy14
Copy link
Contributor

@binoy14 binoy14 commented Sep 7, 2023

Description

  • add more logging in delete script
  • use PR numbers as dataset names instead of github ref
  • fixes turbo token in docs actions

What to review

Seems like when the PR is closed the ref actually points to the next branch so it ends up deleting the next dataset. It seems like the github.event.number should be more consistent. Reference

Notes for release

N/A

- add more logging in delete script
- use PR numbers as dataset names instead of github ref
@vercel
Copy link

vercel bot commented Sep 7, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
performance-studio ✅ Ready (Inspect) Visit Preview Sep 8, 2023 1:09pm
test-studio ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 8, 2023 1:09pm
1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
studio-workshop ⬜️ Ignored (Inspect) Visit Preview Sep 8, 2023 1:09pm

@github-actions
Copy link
Contributor

github-actions bot commented Sep 7, 2023

Component Testing Report Updated Sep 8, 2023 1:13 PM (UTC)

File Status Duration Passed Skipped Failed
formBuilder/ArrayInput.spec.tsx ✅ Passed (Inspect) 6s 3 0 0
formBuilder/inputs/PortableText/Annotations.spec.tsx ✅ Passed (Inspect) 11s 3 0 0
formBuilder/inputs/PortableText/Decorators.spec.tsx ✅ Passed (Inspect) 10s 6 0 0
formBuilder/inputs/PortableText/Input.spec.tsx ✅ Passed (Inspect) 14s 9 0 0
formBuilder/inputs/PortableText/ObjectBlock.spec.tsx ✅ Passed (Inspect) 51s 18 0 0
formBuilder/inputs/PortableText/Styles.spec.tsx ✅ Passed (Inspect) 12s 6 0 0
formBuilder/inputs/PortableText/Toolbar.spec.tsx ✅ Passed (Inspect) 6s 3 0 0

@github-actions
Copy link
Contributor

github-actions bot commented Sep 7, 2023

No changes to documentation

@binoy14 binoy14 requested review from bjoerge and a team September 7, 2023 20:50
@@ -51,14 +51,14 @@ jobs:
if: ${{ github.event_name == 'pull_request' }}
env:
DOCS_REPORT_TOKEN: ${{ secrets.DOCS_REPORT_DATASET_TOKEN }}
DOCS_REPORT_DATASET: ${{ github.ref_name }}
DOCS_REPORT_DATASET: ${{ github.event.number }}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we prefx it so it's easy to identify as a temporary dataset?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure I can take a look at how to do that

@binoy14 binoy14 added this pull request to the merge queue Sep 11, 2023
Merged via the queue into next with commit 50b7976 Sep 11, 2023
17 checks passed
@binoy14 binoy14 deleted the chore/fix-delete-script branch September 11, 2023 14:56
rexxars pushed a commit that referenced this pull request Sep 12, 2023
* chore(docs): fix dataset delete script

- add more logging in delete script
- use PR numbers as dataset names instead of github ref

* chore(docs): prefix dataset name with pr

* chore(docs): fix turbo token
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants