Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update slackapi/slack-github-action action to v2 #5

Merged
merged 4 commits into from
Nov 18, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 15, 2024

This PR contains the following updates:

Package Type Update Change
slackapi/slack-github-action action major v1.26.0 -> v2.0.0

Release Notes

slackapi/slack-github-action (slackapi/slack-github-action)

v2.0.0

Compare Source

v1.27.1: Slack Send V1.27.1

Compare Source

What's changed

This release tags multiple updates to dependencies and a clarification in documentation 📚

No changes are needed to update from slackapi/[email protected] - other than bumping the version - but ongoing development is now happening on version @v2 and @v1 is no longer planning to receive significant updates after this.

Please stay tuned for upcoming changes, and may all of your workflows run well ❤️

📚 Documentation
🧪 Maintenance
📦 Dependencies

Full Changelog: slackapi/slack-github-action@v1.27.0...v1.27.1

v1.27.0: Slack Send V1.27.0

Compare Source

What's changed

This release introduces an optional payload-delimiter parameter for flattening nested objects with a customized delimiter before the payload is sent to Slack Workflow Builder when using workflow webhook triggers.

  - name: Send a custom flattened payload
    uses: slackapi/[email protected]
+   with:
+     payload-delimiter: "_"
    env:
      SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}

Setting this value to an underscore (_) is recommended when using nested inputs within Workflow Builder to match expected input formats of Workflow Builder, but the actual value can be changed to something else! This "flattening" behavior did exist prior to this version, but used a period (.) which is not valid for webook inputs in Workflow Builder.

Flattening example

The resulting output of flattened objects is not always clear, but the following can hopefully serve as a quick reference as well as these specs when using _ as the delimiter:

Input:

{
    "apples": "tree",
    "bananas": {
        "truthiness": true
    }
}

Output:

{
    "apples": "tree",
    "bananas_truthiness": "true"
}

Notice that bananas_truthiness is also stringified in this process, as part of updating values to match the expected inputs of Workflow Builder!

Changes

In addition to the changes above, the following lists all of the changes since the prior version with the complete changelog changes found here: slackapi/slack-github-action@v1.26.0...v1.27.0

🎁 Enhancements
📚 Documentation
🔒 Security
🧪 Maintenance
📦 Dependencies

🎉 New contributors


Configuration

📅 Schedule: Branch creation - "after 10pm,before 5:00am" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies Updates a dependency label Nov 15, 2024
@bpmn-io-tasks bpmn-io-tasks bot added the needs review Review required label Nov 15, 2024
@nikku
Copy link
Member

nikku commented Nov 18, 2024

Checking the changes this should be a simple upgrade for us.

@nikku nikku requested a review from barmac November 18, 2024 09:00
@nikku
Copy link
Member

nikku commented Nov 18, 2024

@barmac asking you to double-check this.

@barmac
Copy link
Member

barmac commented Nov 18, 2024

We cannot merge this as-is, cf. https://github.com/bpmn-io/community-health/actions/runs/11889063668
I will fix it.

Copy link
Contributor Author

renovate bot commented Nov 18, 2024

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@barmac barmac force-pushed the renovate/slackapi-slack-github-action-2.x branch from fbd06e4 to 70923aa Compare November 18, 2024 09:33
@barmac
Copy link
Member

barmac commented Nov 18, 2024

Note that channel-id input was dropped, and it needs to be provided in the payload. So it's never going to be a simple upgrade.

@barmac barmac force-pushed the renovate/slackapi-slack-github-action-2.x branch from 70923aa to 6e26266 Compare November 18, 2024 09:41
@barmac
Copy link
Member

barmac commented Nov 18, 2024

No worries, I will take care of these.

@barmac
Copy link
Member

barmac commented Nov 18, 2024

@barmac barmac force-pushed the renovate/slackapi-slack-github-action-2.x branch from 41e000e to 6c04472 Compare November 18, 2024 10:00
@barmac barmac merged commit 5aad098 into main Nov 18, 2024
6 checks passed
@bpmn-io-tasks bpmn-io-tasks bot removed the needs review Review required label Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Updates a dependency
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants