Skip to content

fix github actions #23

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

Conversation

kboy-silvergym
Copy link
Contributor

Description

Types of changes

  • Bug Fix (non-breaking change which fixes an issue)
  • New Feature (non-breaking change which adds functionality)
  • Documentation Update (if none of the other choices apply)
  • Others (any other types not listed above)

Checklist

  • I have read the Contributing Guide
  • I have added the necessary documentation (if appropriate)
  • Breaking Change (fix or feature that would cause existing functionality to not work as expected)

Further comments

Related Issue

Closes: #

@Copilot Copilot AI review requested due to automatic review settings July 8, 2025 05:56
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Updates the GitHub Actions workflow for generating weekly Flutter news by adjusting YAML quoting and correcting the file path for commits.

  • Standardizes quotes around the cron schedule and Python version
  • Fixes the git add path from src/content/blog to src/data/blog
Comments suppressed due to low confidence (2)

.github/workflows/auto_news.yml:6

  • [nitpick] Consider using a consistent quoting style (e.g., single quotes) or omitting quotes for simple scalar values like the cron expression to improve readability.
    - cron: "0 0 * * 1"

.github/workflows/auto_news.yml:24

  • [nitpick] Align the quoting style for python-version with the rest of the workflow (or remove quotes since unquoted scalars are valid) to maintain uniform YAML formatting.
          python-version: "3.10"

@kboy-silvergym kboy-silvergym merged commit 9f75754 into feature/uddate_weekly_news Jul 8, 2025
1 check passed
@kboy-silvergym kboy-silvergym deleted the news/flutter-news-20250708 branch July 8, 2025 05:57
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Bug: Script Output Path Mismatch Breaks Workflow

The git add command's path was changed from src/content/blog/flutter-news-*.md to src/data/blog/flutter-news-*.md. If the generate_article.py script still outputs files to src/content/blog/, this change will prevent the generated articles from being staged. Consequently, the workflow will not detect changes and will skip creating a pull request, effectively breaking the automated news generation process.

.github/workflows/auto_news.yml#L62-L63

git checkout -b $BRANCH_NAME
git add src/data/blog/flutter-news-*.md

Fix in CursorFix in Web


BugBot free trial expires on July 22, 2025
You have used $0.00 of your $10.00 spend limit so far. Manage your spend limit in the Cursor dashboard.

Was this report helpful? Give feedback by reacting with 👍 or 👎

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.

1 participant