Skip to content

values does not work on Slack App approach #171

@DSdatsme

Description

@DSdatsme

Description

The GitHub actions are giving an error for the values field when being used. I've copied the sample code from here
https://github.com/slackapi/slack-github-action/blob/main/example-workflows/Technique_2_Slack_App/JSON_payload.yml#L45-L47

I am using the OAuth approach (approach 2) of the slack bot to send notifications to slack.
Need to understand if I am missing something or if it's for another setup? because documentation does not mention anything about values field.

What type of issue is this? (place an x in one of the [ ])

  • bug
  • enhancement (feature request)
  • question
  • documentation related
  • example code related
  • testing related
  • discussion

Requirements (place an x in each of the [ ])

  • I've read and understood the Contributing guidelines and have made my best effort to follow them.
  • I've read and agree to the Code of Conduct.
  • I've searched for any related issues and avoided creating a duplicate issue.

Bug Report

Reproducible in:

package version:
tested on

  • slackapi/slack-github-action@v1.16.0
  • slackapi/slack-github-action@v1.23.0

node version:

OS version(s): ubuntu-22.04 (github hosted runners)

Steps to reproduce:

  1. Copy the example code and run it

Expected result:

values field should work

Actual result:

getting error

Attachments:

Screenshot 2023-01-24 at 2 36 55 PM

Logs, screenshots, screencast, sample project, funny gif, etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions