From 1dce97d80c73102a8cfc9347ce82da352c159cfa Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 30 Oct 2024 13:18:31 -1000 Subject: [PATCH] Bump slackapi/slack-github-action from 1.26.0 to 1.27.0 (#2776) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [slackapi/slack-github-action](https://github.com/slackapi/slack-github-action) from 1.26.0 to 1.27.0.
Release notes

Sourced from slackapi/slack-github-action's releases.

Slack Send V1.27.0

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/slack-github-action@v1.27.0
+   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.

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: https://github.com/slackapi/slack-github-action/compare/v1.26.0...v1.27.0

🎁 Enhancements

... (truncated)

Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=slackapi/slack-github-action&package-manager=github_actions&previous-version=1.26.0&new-version=1.27.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) You can trigger a rebase of this PR by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
> **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days. Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/broken-link-checker.yml | 2 +- .github/workflows/daft-profiling.yml | 2 +- .github/workflows/nightlies-tests.yml | 4 ++-- .github/workflows/notebook-checker.yml | 2 +- .github/workflows/property-based-tests.yml | 2 +- .github/workflows/python-package.yml | 22 +++++++++++----------- .github/workflows/python-publish.yml | 4 ++-- .github/workflows/ray-compatibility.yml | 2 +- 8 files changed, 20 insertions(+), 20 deletions(-) diff --git a/.github/workflows/broken-link-checker.yml b/.github/workflows/broken-link-checker.yml index dff9aec37e..5c08be8ce2 100644 --- a/.github/workflows/broken-link-checker.yml +++ b/.github/workflows/broken-link-checker.yml @@ -24,7 +24,7 @@ jobs: retry_on: error command: blc https://www.getdaft.io -ro --exclude www.pytorch.org/ --exclude https://github.com/Eventual-Inc/Daft/ --exclude https://twitter.com/daft_dataframe --exclude https://www.linkedin.com/company/eventualcomputing/ - name: Send Slack notification on failure - uses: slackapi/slack-github-action@v1.26.0 + uses: slackapi/slack-github-action@v1.27.0 if: failure() with: payload: | diff --git a/.github/workflows/daft-profiling.yml b/.github/workflows/daft-profiling.yml index a67f203e6e..b011f954b1 100644 --- a/.github/workflows/daft-profiling.yml +++ b/.github/workflows/daft-profiling.yml @@ -79,7 +79,7 @@ jobs: path: tpch-*.txt - name: Send Slack notification on failure - uses: slackapi/slack-github-action@v1.26.0 + uses: slackapi/slack-github-action@v1.27.0 if: failure() with: payload: | diff --git a/.github/workflows/nightlies-tests.yml b/.github/workflows/nightlies-tests.yml index 1dabd876e9..270e1e5bc6 100644 --- a/.github/workflows/nightlies-tests.yml +++ b/.github/workflows/nightlies-tests.yml @@ -58,7 +58,7 @@ jobs: env: DAFT_RUNNER: ${{ matrix.daft-runner }} - name: Send Slack notification on failure - uses: slackapi/slack-github-action@v1.26.0 + uses: slackapi/slack-github-action@v1.27.0 if: ${{ failure() && (github.ref == 'refs/heads/main') }} with: payload: | @@ -137,7 +137,7 @@ jobs: env: DAFT_RUNNER: ${{ matrix.daft-runner }} - name: Send Slack notification on failure - uses: slackapi/slack-github-action@v1.26.0 + uses: slackapi/slack-github-action@v1.27.0 if: ${{ failure() && (github.ref == 'refs/heads/main') }} with: payload: | diff --git a/.github/workflows/notebook-checker.yml b/.github/workflows/notebook-checker.yml index 852e3c7c89..cbc7a444c9 100644 --- a/.github/workflows/notebook-checker.yml +++ b/.github/workflows/notebook-checker.yml @@ -31,7 +31,7 @@ jobs: - name: Run notebooks in tutorials run: find tutorials -name "*.ipynb" -print0 | xargs -0 -I {} papermill {} /tmp/out.ipynb -p CI True --kernel python3 --no-progress-bar --cwd /tmp/ - name: Send Slack notification on failure - uses: slackapi/slack-github-action@v1.26.0 + uses: slackapi/slack-github-action@v1.27.0 if: failure() with: payload: | diff --git a/.github/workflows/property-based-tests.yml b/.github/workflows/property-based-tests.yml index b004b3fe31..67d403c7ed 100644 --- a/.github/workflows/property-based-tests.yml +++ b/.github/workflows/property-based-tests.yml @@ -54,7 +54,7 @@ jobs: HYPOTHESIS_MAX_EXAMPLES: 10000 - name: Send Slack notification on failure - uses: slackapi/slack-github-action@v1.26.0 + uses: slackapi/slack-github-action@v1.27.0 if: failure() with: payload: | diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 0a7d2de10a..6e71d16138 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -143,7 +143,7 @@ jobs: path: ./report-output - name: Send Slack notification on failure - uses: slackapi/slack-github-action@v1.26.0 + uses: slackapi/slack-github-action@v1.27.0 if: ${{ failure() && (github.ref == 'refs/heads/main') }} with: payload: | @@ -265,7 +265,7 @@ jobs: DAFT_RUNNER: ${{ matrix.daft-runner }} - name: Send Slack notification on failure - uses: slackapi/slack-github-action@v1.26.0 + uses: slackapi/slack-github-action@v1.27.0 if: ${{ failure() && (github.ref == 'refs/heads/main') }} with: payload: | @@ -341,7 +341,7 @@ jobs: env: DAFT_RUNNER: ${{ matrix.daft-runner }} - name: Send Slack notification on failure - uses: slackapi/slack-github-action@v1.26.0 + uses: slackapi/slack-github-action@v1.27.0 if: ${{ failure() && (github.ref == 'refs/heads/main') }} with: payload: | @@ -437,7 +437,7 @@ jobs: env: DAFT_RUNNER: ${{ matrix.daft-runner }} - name: Send Slack notification on failure - uses: slackapi/slack-github-action@v1.26.0 + uses: slackapi/slack-github-action@v1.27.0 if: ${{ failure() }} with: payload: | @@ -519,7 +519,7 @@ jobs: DAFT_RUNNER: ${{ matrix.daft-runner }} DAFT_ENABLE_NATIVE_EXECUTOR: ${{ matrix.enable-native-executor }} - name: Send Slack notification on failure - uses: slackapi/slack-github-action@v1.26.0 + uses: slackapi/slack-github-action@v1.27.0 if: ${{ failure() && (github.ref == 'refs/heads/main') }} with: payload: | @@ -600,7 +600,7 @@ jobs: DAFT_RUNNER: ${{ matrix.daft-runner }} DAFT_ENABLE_NATIVE_EXECUTOR: ${{ matrix.enable-native-executor }} - name: Send Slack notification on failure - uses: slackapi/slack-github-action@v1.26.0 + uses: slackapi/slack-github-action@v1.27.0 if: ${{ failure() && (github.ref == 'refs/heads/main') }} with: payload: | @@ -682,7 +682,7 @@ jobs: with: run: pytest tests/benchmarks -m benchmark --codspeed - name: Send Slack notification on failure - uses: slackapi/slack-github-action@v1.26.0 + uses: slackapi/slack-github-action@v1.27.0 if: ${{ failure() && (github.ref == 'refs/heads/main') }} with: payload: | @@ -728,7 +728,7 @@ jobs: name: coverage-reports-rust-tests-${{ runner.os }} path: ./report-output - name: Send Slack notification on failure - uses: slackapi/slack-github-action@v1.26.0 + uses: slackapi/slack-github-action@v1.27.0 if: ${{ failure() && (github.ref == 'refs/heads/main') }} with: payload: | @@ -830,7 +830,7 @@ jobs: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} files: ./report-output/* - name: Send Slack notification on failure - uses: slackapi/slack-github-action@v1.26.0 + uses: slackapi/slack-github-action@v1.27.0 if: ${{ failure() && (github.ref == 'refs/heads/main') }} with: payload: | @@ -911,7 +911,7 @@ jobs: python -c 'import daft; from daft import *' - name: Send Slack notification on failure - uses: slackapi/slack-github-action@v1.26.0 + uses: slackapi/slack-github-action@v1.27.0 if: ${{ failure() && (github.ref == 'refs/heads/main') }} with: payload: | @@ -978,7 +978,7 @@ jobs: pre-commit run --all-files - name: Send Slack notification on failure - uses: slackapi/slack-github-action@v1.26.0 + uses: slackapi/slack-github-action@v1.27.0 if: ${{ failure() && (github.ref == 'refs/heads/main') }} with: payload: | diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 7493109dfe..12a17ccba2 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -111,7 +111,7 @@ jobs: path: dist - name: Send Slack notification on failure - uses: slackapi/slack-github-action@v1.26.0 + uses: slackapi/slack-github-action@v1.27.0 if: ${{ failure() && (github.ref == 'refs/heads/main') }} with: payload: | @@ -186,7 +186,7 @@ jobs: upload_wheels - name: Send Slack notification on failure - uses: slackapi/slack-github-action@v1.26.0 + uses: slackapi/slack-github-action@v1.27.0 if: failure() with: payload: | diff --git a/.github/workflows/ray-compatibility.yml b/.github/workflows/ray-compatibility.yml index a79c9bad3a..60a305ad1f 100644 --- a/.github/workflows/ray-compatibility.yml +++ b/.github/workflows/ray-compatibility.yml @@ -67,7 +67,7 @@ jobs: DAFT_RUNNER: ray - name: Send Slack notification on failure - uses: slackapi/slack-github-action@v1.26.0 + uses: slackapi/slack-github-action@v1.27.0 if: failure() with: payload: |