Skip to content

CI/BUG: comment_commands.yml failing due to invalid trim()  #60396

Closed
@KevsterAmp

Description

@KevsterAmp

Pandas version checks

  • I have checked that this issue has not already been reported.

  • I have confirmed this bug exists on the latest version of pandas.

  • I have confirmed this bug exists on the main branch of pandas.

Reproducible Example

comment anything on an issue in this sub, workflow will return as FAIL

Issue Description

We have recently merged a past MR (#60359) regarding using trim() on comment_commands.yml. Turns out there are no "Trim" or similar related command on github workflows file...

The workflow is not valid. .github/workflows/comment-commands.yml (Line: 14, Col: 9): Unrecognized function: 'trim'. Located at position 39 within expression: (!github.event.issue.pull_request) && trim(github.event.comment.body) == 'take'

Failed workflow example: https://github.com/pandas-dev/pandas/actions/runs/11973824956/workflow

Discussion regarding split or trim command on github workflow: https://stackoverflow.com/questions/64049306/github-actions-how-to-trim-a-string-in-a-condition

Expected Behavior

comment_commands workflow should work properly

Installed Versions

NA

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugNeeds TriageIssue that has not been reviewed by a pandas team member

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions