Skip to content
Open
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
14 changes: 9 additions & 5 deletions .github/workflows/check-folder-name.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Check-Folder-Name
on:
pull_request:
paths:
- '**/rule.md'
- '**/rule.mdx'
types: [opened, synchronize]

jobs:
Expand All @@ -27,7 +27,7 @@ jobs:
- name: Check for modified rule.md
id: check_modified
run: |
if git diff --name-only $(git merge-base origin/main HEAD) | grep -q 'rule.md'; then
if git diff --name-only $(git merge-base origin/tina/migration-dev-content HEAD) | grep -q 'rule.md'; then
echo "modified=true" >> "$GITHUB_OUTPUT"
else
echo "modified=false" >> "$GITHUB_OUTPUT"
Expand All @@ -45,7 +45,11 @@ jobs:
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git add .
git commit -m "Rename folder to match URI"
git push || true
echo "Auto-fix applied"
if git diff --cached --quiet; then
echo "No changes to commit."
else
git commit -m "Rename folder to match URI"
git push || true
echo "Auto-fix applied"
fi

4 changes: 3 additions & 1 deletion .github/workflows/validate-frontmatter-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ name: Validate-Frontmatter-in-All-Rules

on:
push:
branches: [main]
branches:
- main
- tina/migration-dev-content
workflow_dispatch:

jobs:
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/validate-frontmatter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ name: Validate-Frontmatter

on:
pull_request:
branches: [ main ]
branches:
- main
- tina/migration-dev-content

workflow_dispatch:

Expand Down Expand Up @@ -32,7 +34,7 @@ jobs:
id: get_changed
if: ${{ github.event_name == 'pull_request' }}
run: |
echo "changed=$(git diff --name-only $(git merge-base origin/main HEAD) HEAD)" | paste -sd "," - >> $GITHUB_ENV
echo "changed=$(git diff --name-only $(git merge-base origin/tina/migration-dev-content HEAD) HEAD)" | paste -sd "," - >> $GITHUB_ENV
echo "pr_owner=${{ github.event.pull_request.user.login }}" >> $GITHUB_ENV

# Step 4: Check MDX files for valid frontmatter
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/validate-mdx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ name: Validate-MDX

on:
pull_request:
branches: [ main ]
branches:
- main
- tina/migration-dev-content
paths:
- '**.mdx'

Expand Down
6 changes: 1 addition & 5 deletions rules/best-ai-tools/rule.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
type: rule
title: Do you know the best AI tools for different tasks?
uri: best-ai-tools
authors:
- title: Seth Daily
url: 'https://www.ssw.com.au/people/seth-daily'
created: 2023-10-03T14:30:00.000Z
lastUpdated: 2025-06-11T05:12:51.586Z
guid: f393a74b-fbce-4d24-a4d8-3d0dad7007f5
Expand All @@ -25,8 +22,7 @@ This rule aims to cut through the noise and provide a regularly updated list of

**Note:** Most of the paid ones have a free trial, though you usually don't get full functionality.
</>}
figureEmbed={{ preset: "default", figure: "XXX", shouldDisplay: false }}
/>
figureEmbed={{ preset: "default", figure: "XXX", shouldDisplay: false }}>

## Writing/coding

Expand Down
Loading