Skip to content

Commit

Permalink
Update missing tracks (#9)
Browse files Browse the repository at this point in the history
* Update missing tracks

* Add issue templates
  • Loading branch information
justinyoo authored Oct 23, 2024
1 parent 86f487f commit 5635a84
Show file tree
Hide file tree
Showing 8 changed files with 4,378 additions and 2 deletions.
23 changes: 23 additions & 0 deletions .github/ISSUE_TEMPLATE/01_SYNC_CHART.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Request for chart sync
description: Use this template to request a chart sync up-to-date.
title: "[Sync]: Request for chart sync"
labels: ["sync-request"]
body:
- type: markdown
attributes:
value: |
Thanks for requesting a chart sync! When you find the chart is out-of-date, please submit this issue, and it will automatically republish the chart up-to-date.
- type: dropdown
id: issue-type
attributes:
label: Issue Type
description: What type of issue are you creating?
options:
- Sync Request
default: 0
validations:
required: true
- type: markdown
attributes:
value: |
When you're ready, click the submit button below, and it will automatically republish the chart up-to-date.
43 changes: 43 additions & 0 deletions .github/ISSUE_TEMPLATE/02_BUG_REPORT.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Bug Report
description: File a bug report.
title: "[Bug]: "
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report!
- type: textarea
id: what-happened
attributes:
label: What happened?
description: Tell us what has happened.
placeholder: Tell us what you see!
validations:
required: true
- type: textarea
id: what-expected
attributes:
label: What did you expect?
description: Tell us what you expected to happen?
placeholder: Tell us what you expect!
validations:
required: true
- type: textarea
id: reproduction
attributes:
label: How can we reproduce this error?
description: Tell us how we can reproduce this error.
placeholder: Tell us the steps to reproduce this error!
validations:
required: true
- type: dropdown
id: os
attributes:
label: Which OS are you seeing the problem on?
multiple: true
options:
- Windows
- MacOS
- Linux
validations:
required: true
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
blank_issues_enabled: false
3 changes: 3 additions & 0 deletions .github/workflows/scrape.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ jobs:

permissions:
contents: write
issues: write

steps:
- name: Checkout code
Expand Down Expand Up @@ -102,6 +103,8 @@ jobs:

- name: Issue missing tracks
shell: pwsh
env:
GH_TOKEN: ${{ github.token }}
run: |
$date = (Get-Date).ToUniversalTime().AddHours(9).ToString("yyyyMMdd")
$collection = Get-Content "./data/spotify100-$date.json" | ConvertFrom-Json
Expand Down
Loading

0 comments on commit 5635a84

Please sign in to comment.