Skip to content

failure_reaction option is not working #77

Closed
@ayame113

Description

@ayame113

Thank you for this useful library!
I ran into a small issue while building a workflow using this library.

Describe the Issue

Even if I specify confused for the failure_reaction option, I actually get a -1 reaction.

Action Configuration

name: "Deploy on Pull Request Comment"

on:
    issue_comment:
        types: [created]

permissions:
    pull-requests: write
    issues: write
    contents: read
    checks: read
    actions: write

jobs:
    comment-deploy:
        runs-on: ubuntu-latest
        steps:
            - uses: github/command@v2
              id: pr-comment
              with:
                  command: ".deploy-dev"
                  allow_drafts: true
                  skip_ci: true
                  skip_reviews: true
                  success_reaction: rocket
                  failure_reaction: confused # does not work

Relevant Actions Log Output

No response

Extra Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions