Skip to content

Commit

Permalink
Merge pull request #53 from Promptly-Technologies-LLC/main
Browse files Browse the repository at this point in the history
Update to version 2.1.0
  • Loading branch information
chriscarrollsmith authored Jan 27, 2024
2 parents ae35ea1 + fc2a5cd commit ecefea2
Show file tree
Hide file tree
Showing 5 changed files with 3,132 additions and 1,948 deletions.
65 changes: 0 additions & 65 deletions .github/workflows/check-dist.yml

This file was deleted.

16 changes: 6 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,9 @@ jobs:
- name: Test Github Action with JSON
uses: ./
with:
feed_url: "https://modelingmarkets.substack.com/feed"
feed_url: "https://feed.zazzle.com/store/promptlytechnologies/rss"
file_path: "./feed.json"
parser_options: "{\"useISODateFormat\": false, \"getExtraEntryFields\": \"(feedEntry) => { return { 'content:encoded': feedEntry['content:encoded'] || '' }; }\"}"
fetch_options: "{}"
parser_options: "{\"useISODateFormat\": false, \"normalization\": false}"

- name: Validate JSON
run: |
Expand All @@ -60,15 +59,12 @@ jobs:
if (!obj ||
!obj.title ||
!obj.link ||
!obj.description ||
!obj.generator ||
!obj.language ||
!obj.published ||
!Array.isArray(obj.entries) ||
obj.entries.length === 0 ||
!obj.entries[0]['content:encoded']) {
!obj.pubDate ||
!Array.isArray(obj.item) ||
obj.item.length === 0) {
console.error('Invalid object');
process.exit(1);
}
"
6 changes: 3 additions & 3 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
config-file: ./.github/codeql/codeql-config.yml
Expand All @@ -54,7 +54,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2
uses: github/codeql-action/autobuild@v3

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
Expand All @@ -68,4 +68,4 @@ jobs:
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3
Loading

0 comments on commit ecefea2

Please sign in to comment.