Skip to content

This appears to fail with the new GitHub background tasks type #321

Description

@Azuka

Describe the bug
GitHub recently released support for background tasks and running in parallel.

This action fails when trying to resolve ids from a parallel wait

To Reproduce
Steps to reproduce the behavior:

  1. create a workflow with parallel tasks
  2. This action fails to read the steps on the nested parallel wait
  3. See error
Run act10ns/slack@v2
  with:
    status: success
    message: Deployed successfully to...
  
    steps: {
    "__parallel_0_0": {
      "outputs": {
        "aws-account-id": "...",
        "authenticated-arn": "..."
      }
    },
    "__parallel_0_1": {
      "outputs": {
        "helm-path": "/opt/hostedtoolcache/helm/3.17.3/x64/linux-amd64/helm"
      }
    },
    "__parallel_0_2": {
      "outputs": {
        "kubectl-path": "/opt/hostedtoolcache/kubectl/1.36.2/x64/kubectl"
      }
    },
    "Parallel group": {
      "outputs": {},
      "outcome": "success",
      "conclusion": "success"
    }
  }
    config: .github/slack.yml
  env:
    FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
    SLACK_WEBHOOK_URL: ****
Reading config file .github/slack.yml...
(node:2215) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Error: Cannot read properties of undefined (reading 'toLowerCase')

Expected behavior
No failure.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions