Skip to content

Reaction ignored #46

Closed
Closed

Description

@dloez

Describe the Issue

Specifying the reaction input seems to not work. Instead it uses 👍.

Action Configuration

- name: 📝 Command
  id: command
  uses: github/[email protected]
  with:
    command: "/testdeploy"
    reaction: "rocket"
    allowed_contexts: "pull_request,issue"

Relevant Actions Log Output

No response

Extra Information

No response

Activity

  1. self-assigned this
    on Dec 12, 2024
  2. GrantBirki commented on Dec 12, 2024

    @GrantBirki
    Contributor

    @dloez You are absolutely correct and this is indeed a bug. Sorry I am just now seeing this, I have neglected this project a bit.

  3. GrantBirki commented on Dec 12, 2024

    @GrantBirki
    Contributor

    Here is what you should use instead with the new changes I just made

    - name: 📝 Command
      id: command
      uses: github/[email protected] # use the new, latest release
      with:
        command: "/testdeploy"
        reaction: "eyes"
        success_reaction: "rocket" # <-- NEW: adds a 🚀 only if your command succeeds
        failure_reaction: "-1" # <-- NEW: adds a 👎  if your command fails
        allowed_contexts: "pull_request,issue"

    P.S. I see your command is related to a deploy. Have you checked out https://github.com/github/branch-deploy at all? It is like this project but on steroids for deployments.

  4. GrantBirki commented on Dec 12, 2024

    @GrantBirki
    Contributor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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