-
Notifications
You must be signed in to change notification settings - Fork 43
fix: trying syntax fix #235
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
Conversation
WalkthroughThis pull request updates the conditional logic in the GitHub Actions workflow for the Changes
Sequence Diagram(s)sequenceDiagram
participant CM as Commit Message
participant GH as GitHub Actions Workflow
participant PM as post_to_mastodon Job
CM->>GH: Push commit with message
GH->>GH: Check if commit message contains 'chore(main): release'
alt Match Found
GH->>PM: Trigger post_to_mastodon job
else No Match
GH-->>PM: Do not trigger job
end
Possibly related PRs
Suggested reviewers
Poem
Tip ⚡🧪 Multi-step agentic review comment chat (experimental)
📜 Recent review detailsConfiguration used: .coderabbit.yaml 📒 Files selected for processing (1)
🧰 Additional context used🪛 actionlint (1.7.4).github/workflows/announce-release.yml15-15: could not parse as YAML: yaml: line 15: mapping values are not allowed in this context (syntax-check) 🪛 YAMLlint (1.35.1).github/workflows/announce-release.yml[error] 15-15: syntax error: mapping values are not allowed here (syntax) ⏰ Context from checks skipped due to timeout of 90000ms (1)
🔇 Additional comments (1)
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
📜 Review details
Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
.github/workflows/announce-release.yml(1 hunks)
🧰 Additional context used
🪛 actionlint (1.7.4)
.github/workflows/announce-release.yml
15-15: if: condition "${{ contains(github.event.head_commit.message, 'chore(main): release') }}\n" is always evaluated to true because extra characters are around ${{ }}
(if-cond)
⏰ Context from checks skipped due to timeout of 90000ms (1)
- GitHub Check: testing
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
🤖 I have created a release *beep* *boop* --- ## [1.1.0](v1.0.1...v1.1.0) (2025-03-14) ### Features * tolerant status checks ([#232](#232)) ([cb20135](cb20135)) ### Bug Fixes * trying syntax fix ([#235](#235)) ([5e591ae](5e591ae)) ### Documentation * rewrite of the documentation ([#219](#219)) ([7d0b44c](7d0b44c)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Introduced tolerant status checks to improve functionality. - **Bug Fixes** - Resolved a syntax issue. - **Documentation** - Rewrote documentation for enhanced clarity. - **Chores** - Updated the release version to 1.1.0. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
Summary by CodeRabbit