-
-
Notifications
You must be signed in to change notification settings - Fork 681
Add update-resources script #2171
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
Merged
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
b542aab
Add update-resources script
ota-meshi 348d0aa
fix
ota-meshi bde92f7
change data acquisition source
ota-meshi 6f52353
add workflow that checks for resource updates and remove auto updatin…
ota-meshi 0e98ca1
fix test case
ota-meshi d28c873
Update .github/workflows/check-for-resources-update.yml
ota-meshi 72a1279
update git hub action
ota-meshi 3c709a1
Update .github/workflows/check-for-resources-update.yml
ota-meshi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: Check for utils resources update | ||
on: | ||
workflow_dispatch: null | ||
schedule: | ||
- cron: 0 0 * * 0 # At 00:00 on Sunday, see https://crontab.guru/#0_0_*_*_0 | ||
|
||
permissions: | ||
contents: write | ||
pull-requests: write | ||
|
||
jobs: | ||
check-for-resources-update: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Install Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18 | ||
- name: Install Packages | ||
run: npm install | ||
- name: Update | ||
run: npm run update-resources | ||
- uses: peter-evans/create-pull-request@v7 | ||
with: | ||
commit-message: Updates resources | ||
branch: update-resources | ||
branch-suffix: timestamp | ||
title: Updates resources |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,120 +1,116 @@ | ||
[ | ||
"html", | ||
"body", | ||
"base", | ||
"head", | ||
"link", | ||
"meta", | ||
"style", | ||
"title", | ||
"a", | ||
"abbr", | ||
"address", | ||
"area", | ||
"article", | ||
"aside", | ||
"audio", | ||
"b", | ||
"base", | ||
"bdi", | ||
"bdo", | ||
"blockquote", | ||
"body", | ||
"br", | ||
"button", | ||
"canvas", | ||
"caption", | ||
"cite", | ||
"code", | ||
"col", | ||
"colgroup", | ||
"data", | ||
"datalist", | ||
"dd", | ||
"del", | ||
"details", | ||
"dfn", | ||
"dialog", | ||
"div", | ||
"dl", | ||
"dt", | ||
"em", | ||
"embed", | ||
"fencedframe", | ||
"fieldset", | ||
"figcaption", | ||
"figure", | ||
"footer", | ||
"header", | ||
"form", | ||
"h1", | ||
"h2", | ||
"h3", | ||
"h4", | ||
"h5", | ||
"h6", | ||
"head", | ||
"header", | ||
"hgroup", | ||
"nav", | ||
"section", | ||
"div", | ||
"dd", | ||
"dl", | ||
"dt", | ||
"figcaption", | ||
"figure", | ||
"hr", | ||
"html", | ||
"i", | ||
"iframe", | ||
"img", | ||
"input", | ||
"ins", | ||
"kbd", | ||
"label", | ||
"legend", | ||
"li", | ||
"link", | ||
"main", | ||
"map", | ||
"mark", | ||
"menu", | ||
"meta", | ||
"meter", | ||
"nav", | ||
"noscript", | ||
"object", | ||
"ol", | ||
"optgroup", | ||
"option", | ||
"output", | ||
"p", | ||
"picture", | ||
"portal", | ||
"pre", | ||
"ul", | ||
"a", | ||
"b", | ||
"abbr", | ||
"bdi", | ||
"bdo", | ||
"br", | ||
"cite", | ||
"code", | ||
"data", | ||
"dfn", | ||
"em", | ||
"i", | ||
"kbd", | ||
"mark", | ||
"progress", | ||
"q", | ||
"rp", | ||
"rt", | ||
"rtc", | ||
"ruby", | ||
"s", | ||
"samp", | ||
"script", | ||
"search", | ||
"section", | ||
"select", | ||
"slot", | ||
"small", | ||
"source", | ||
"span", | ||
"strong", | ||
"style", | ||
"sub", | ||
"summary", | ||
"sup", | ||
"time", | ||
"u", | ||
"var", | ||
"wbr", | ||
"area", | ||
"audio", | ||
"map", | ||
"track", | ||
"video", | ||
"embed", | ||
"object", | ||
"param", | ||
"source", | ||
"canvas", | ||
"script", | ||
"noscript", | ||
"del", | ||
"ins", | ||
"caption", | ||
"col", | ||
"colgroup", | ||
"table", | ||
"thead", | ||
"tbody", | ||
"tfoot", | ||
"td", | ||
"template", | ||
"textarea", | ||
"tfoot", | ||
"th", | ||
"thead", | ||
"time", | ||
"title", | ||
"tr", | ||
"button", | ||
"datalist", | ||
"fieldset", | ||
"form", | ||
"input", | ||
"label", | ||
"legend", | ||
"meter", | ||
"optgroup", | ||
"option", | ||
"output", | ||
"progress", | ||
"select", | ||
"textarea", | ||
"details", | ||
"dialog", | ||
"menu", | ||
"menuitem", | ||
"summary", | ||
"content", | ||
"element", | ||
"shadow", | ||
"template", | ||
"slot", | ||
"blockquote", | ||
"iframe", | ||
"noframes", | ||
"picture" | ||
"track", | ||
"u", | ||
"ul", | ||
"var", | ||
"video", | ||
"wbr" | ||
] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
module.exports = { | ||
httpGet | ||
} | ||
function httpGet(url) { | ||
return fetch(url).then((res) => res.text()) | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.