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(deps): update slackapi/slack-github-action action to v1.27.1 #2839

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 19, 2024

This PR contains the following updates:

Package Type Update Change
slackapi/slack-github-action action minor v1.25.0 -> v1.27.1

Release Notes

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

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

v1.26.0: Slack Send V1.26.0

Compare Source

What's Changed

This release provides an escape hatch for sending the JSON content of a payload file exactly as is, without replacing any templated variables!

Previously a payload file was parsed and templated variables were replaced with values from github.context and github.env. Any undefined variables were replaced with ??? in this process, which might have caused questions.

That remains the default behavior, but now the JSON contents of a payload file can be sent exactly as written by setting the payload-file-path-parsed input to false:

- name: Send custom JSON data to Slack workflow
  id: slack
  uses: slackapi/[email protected]
  with:
    payload-file-path: "./payload-slack-content.json"
    payload-file-path-parsed: false
  env:
    SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}

With this change, the contents of the example payload-slack-content.json will be sent to a webhook URL exactly as is!

Recent commits

Enhancements
Documentation
Maintenance
Dependencies

New Contributors

Full Changelog: slackapi/slack-github-action@v1.25.0...v1.26.0


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

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

Rebasing: Whenever PR is behind base branch, 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 requested a review from notnmeyer as a code owner April 19, 2024 02:01
@renovate renovate bot added the gh-actions label Apr 19, 2024
@renovate renovate bot force-pushed the renovate/slackapi-slack-github-action-1.x branch 3 times, most recently from 7e6ea56 to caf84ab Compare July 16, 2024 19:02
@renovate renovate bot force-pushed the renovate/slackapi-slack-github-action-1.x branch 2 times, most recently from 1eb0ab4 to b7e5429 Compare August 7, 2024 14:58
@renovate renovate bot force-pushed the renovate/slackapi-slack-github-action-1.x branch from b7e5429 to 2af9189 Compare August 7, 2024 15:10
@renovate renovate bot force-pushed the renovate/slackapi-slack-github-action-1.x branch 8 times, most recently from 8ac8404 to 47092b2 Compare August 28, 2024 20:28
@renovate renovate bot changed the title chore(deps): update slackapi/slack-github-action action to v1.26.0 chore(deps): update slackapi/slack-github-action action to v1.27.0 Aug 28, 2024
@renovate renovate bot force-pushed the renovate/slackapi-slack-github-action-1.x branch 2 times, most recently from 8be5346 to f2b12eb Compare August 29, 2024 15:44
@renovate renovate bot force-pushed the renovate/slackapi-slack-github-action-1.x branch from f2b12eb to 86f60a8 Compare September 12, 2024 16:55
@renovate renovate bot force-pushed the renovate/slackapi-slack-github-action-1.x branch from 86f60a8 to 1198fa7 Compare October 15, 2024 13:37
@renovate renovate bot force-pushed the renovate/slackapi-slack-github-action-1.x branch from 1198fa7 to e1f1151 Compare November 14, 2024 23:07
@renovate renovate bot changed the title chore(deps): update slackapi/slack-github-action action to v1.27.0 chore(deps): update slackapi/slack-github-action action to v1.27.1 Nov 14, 2024
@notnmeyer
Copy link
Contributor

could probably take the slack notification bits out, doubt they're wired up to go anywhere anymore

@renovate renovate bot force-pushed the renovate/slackapi-slack-github-action-1.x branch from e1f1151 to f45a067 Compare December 4, 2024 03:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant