Send Informative, Concise Slack Notifications With Minimal Effort

Overview

slack-templates

Test Bump Version pre-commit Conventional Commits security: bandit Code style: black code style: prettier Imports: isort

Send Informative, Concise Slack Notifications With Minimal Effort

Slack Integration

  • Create a custom Slack app with the chat:write scope.
  • Install the app to your workspace, and copy the provided OAuth access token.
  • Create a GitHub secret to store the bot token.
  • Invite your bot to the desired channel.
  • Secondary-click on the channel, and select "Copy link."
  • Create a GitHub secret to store the final portion of the path. The channel ID is neither the name of the channel nor the URL.

Available Templates

The template parameter controls the structure of the Slack notification. Here are all currently supported templates:

  • "result":
    • pull_request event: <workflow> <result> for <PR #> from <branch> on <repository> by <username>.
    • push event:
      • merge of pull request: <workflow> <result> for merge of <PR #> from <branch> on <repository> by <username>.
      • direct push of branch: <workflow> <result> for push of <sha> to <branch> on <repository> by <username>.
  • "reviewers":
    • requestor != requestee: <requestor> requests review from <reviewers> of <PR #> from <branch> on <repository>.
    • requestor == requestee: <username> self-requests review of <PR #> from <branch> on <repository>.
  • "assignee":
    • assignor != assignee: <assignor> assigned <assignee> <PR #> from <branch> on <repository>.
    • assignor == assignee: <username> self-assigned <PR #> from <branch> on <repository>.
  • "custom": Pass your custom message via the message parameter.

All usernames refer to GitHub usernames. Users with differing Slack and GitHub usernames may wish to register their GitHub username for Slack keyword notifications. Workflow names, pull request numbers, commit shas, branches, and repositories all link to the pertinent GitHub page. If you would like to see a template added, please open an issue or better still a pull request.

Reliably determining the pull request associated with a push event requires read permissions on the contents scope. Even the restrictive defaults grant this permission. If permissions are granted explicitly and contents: read is excluded, the commit sha will be reported instead of the pull request number, because merges will be indistinguishable from direct pushes.

Usage

Report the status of the current job

  • Add the following step to the bottom of the job:
- name: Send Slack notification with job status.
  if: always()
  uses: ScribeMD/[email protected]
  with:
    bot-token: ${{ secrets.SLACK_TEMPLATES_BOT_TOKEN }}
    channel-id: ${{ secrets.SLACK_TEMPLATES_CHANNEL_ID }}
    template: result

Summarize the results of an entire workflow

  • Create a new job at the end of the workflow that depends on (a.k.a., "needs") all other jobs but always runs.
  • Pass "${{ join(needs.*.result, ' ') }}" as the results.

The result of the entire workflow is the highest ranking of all results given. The ranking is as follows:

  1. failure
  2. cancelled
  3. success
  4. skipped
name: My Workflow
on:
  pull_request:
    branches:
      - main
  push:
    branches:
      - main
jobs:
  job1: ...
  job2: ...
  job3: ...
  notify:
    if: always()
    needs:
      - job1
      - job2
      - job3
    runs-on: ubuntu-latest
    steps:
      - name: Send Slack notification with workflow result.
        uses: ScribeMD/[email protected]
        with:
          bot-token: ${{ secrets.SLACK_TEMPLATES_BOT_TOKEN }}
          channel-id: ${{ secrets.SLACK_TEMPLATES_CHANNEL_ID }}
          template: result
          results: "${{ join(needs.*.result, ' ') }}"

Report a custom result

  • Determine what result to send in preceding steps.
  • Report the result at the bottom of the job as before.
  • Take care to quote results for use as a Bash command line argument.
- name: Detect third-party network outage.
  id: network
  run: |
    ...
    echo "::set-output name=outage::$OUTAGE"
  shell: bash
- name: Send Slack notification with custom result.
  if: always() && steps.network.outputs.outage == 'true'
  uses: ScribeMD/[email protected]
  with:
    bot-token: ${{ secrets.SLACK_TEMPLATES_BOT_TOKEN }}
    channel-id: ${{ secrets.SLACK_TEMPLATES_CHANNEL_ID }}
    template: result
    results: '"failure caused by third-party network outage"'

Notify reviewers of a pull request

name: Notify Reviewers
on:
  pull_request:
    types:
      - review_requested
jobs:
  notify-reviewers:
    runs-on: ubuntu-latest
    steps:
      - name: Send Slack notification requesting code review.
        uses: ScribeMD/[email protected]
        with:
          bot-token: ${{ secrets.SLACK_TEMPLATES_BOT_TOKEN }}
          channel-id: ${{ secrets.SLACK_TEMPLATES_CHANNEL_ID }}
          template: reviewers

Notify assignee of a pull request

name: Notify Assignee
on:
  pull_request:
    types:
      - assigned
jobs:
  notify-assignee:
    runs-on: ubuntu-latest
    steps:
      - name: Send Slack notification assigning pull request.
        uses: ScribeMD/[email protected]
        with:
          bot-token: ${{ secrets.SLACK_TEMPLATES_BOT_TOKEN }}
          channel-id: ${{ secrets.SLACK_TEMPLATES_CHANNEL_ID }}
          template: assignee

Send a custom notification

- name: Send custom Slack notification.
  if: always()
  uses: ScribeMD/[email protected]
  with:
    bot-token: ${{ secrets.SLACK_TEMPLATES_BOT_TOKEN }}
    channel-id: ${{ secrets.SLACK_TEMPLATES_CHANNEL_ID }}
    message: "${{ github.actor }} requests approval to run workflow."

Relation to slack-send

This action wraps slack-send, its only runtime dependency, inheriting slack-send's support for all GitHub-hosted runners. There are three principal differences between these actions:

  • slack-templates offers some default messages; slack-send presently does not.
  • slack-send supports Slack's Workflow Builder (unavailable on free Slack plan) in addition to Slack apps. slack-templates only supports Slack apps.
  • slack-send accepts the bot token as environment variable SLACK_BOT_TOKEN. slack-templates accepts it as the input parameter bot-token.

Bug Reports

If you are not receiving notifications, please review the Slack Integration section and then file a bug report containing the GitHub Action's logs if that doesn't resolve your issue. If you are receiving nondescript Slack notifications, please file a bug report with the notification you received taking care to preserve the links.

Contributing

Please refer to CONTRIBUTING.md.

Changelog

Please refer to CHANGELOG.md.

Comments
  • ci(workflow): Check out full repository history

    ci(workflow): Check out full repository history

    In the Test workflow, the pre-commit-action now runs the Commitizen action, which relies on Git tags. The official GitHub checkout action does a sparse checkout by default, which does not include tags, causing version bumps to fail. Pass fetch-depth: 0 to instruct the checkout action to perform a full checkout, including tags.

    opened by Kurt-von-Laven 4
  • chore(deps): bump ScribeMD/pre-commit-action from 0.9.17 to 0.9.22

    chore(deps): bump ScribeMD/pre-commit-action from 0.9.17 to 0.9.22

    Bumps ScribeMD/pre-commit-action from 0.9.17 to 0.9.22.

    Release notes

    Sourced from ScribeMD/pre-commit-action's releases.

    0.9.21

    Full Changelog: https://github.com/ScribeMD/pre-commit-action/compare/0.9.20...0.9.21

    0.9.20

    Full Changelog: https://github.com/ScribeMD/pre-commit-action/compare/0.9.19...0.9.20

    0.9.19

    Full Changelog: https://github.com/ScribeMD/pre-commit-action/compare/0.9.18...0.9.19

    0.9.18

    Full Changelog: https://github.com/ScribeMD/pre-commit-action/compare/0.9.17...0.9.18

    Changelog

    Sourced from ScribeMD/pre-commit-action's changelog.

    0.9.22 (2022-10-15)

    Fix

    • deps: bump ScribeMD/rootless-docker from 0.2.0 to 0.2.1

    0.9.21 (2022-10-14)

    Fix

    • deps: bump actions/cache from 3.0.10 to 3.0.11

    0.9.20 (2022-10-14)

    Fix

    • deps: bump ScribeMD/slack-templates from 0.6.11 to 0.6.12

    0.9.19 (2022-10-14)

    Fix

    • deps: bump actions/setup-dotnet from 3.0.1 to 3.0.2

    0.9.18 (2022-10-14)

    Fix

    • action: Port from set-output to env files
    Commits
    • 9a977c1 bump: version 0.9.21 → 0.9.22
    • d151626 fix(deps): bump ScribeMD/rootless-docker from 0.2.0 to 0.2.1
    • 4c1981b bump: version 0.9.20 → 0.9.21
    • e248133 fix(deps): bump actions/cache from 3.0.10 to 3.0.11
    • a40a2bf bump: version 0.9.19 → 0.9.20
    • 19449c2 fix(deps): bump ScribeMD/slack-templates from 0.6.11 to 0.6.12
    • e0c568a bump: version 0.9.18 → 0.9.19
    • 312fca2 fix(deps): bump actions/setup-dotnet from 3.0.1 to 3.0.2
    • 0e89fe9 bump: version 0.9.17 → 0.9.18
    • e199748 fix(action): Port from set-output to env files
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    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 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)
    dependencies github_actions 
    opened by dependabot[bot] 2
  • chore(deps-dev): bump pylint from 2.15.3 to 2.15.4

    chore(deps-dev): bump pylint from 2.15.3 to 2.15.4

    Bumps pylint from 2.15.3 to 2.15.4.

    Commits
    • 20af036 Bump pylint to 2.15.4, update changelog
    • 78f8423 [towncrier] Add whitespaces between fragment in towncrier (#7431)
    • 49e15ab Disambiguate between str and enum member args to typing.Literal (#7414)
    • 07f484f Upgrade astroid version following 2.12.11 release
    • fa63d9b [doc] Upgrade the contributors list and CONTRIBUTORS.txt
    • a258854 Raise syntax-error correctly on invalid encodings (#7553)
    • 43ecd7d Fix handling of -- as separator between positional args and flags (#7551)
    • 66ae21c Check py-version for async unnecessary-dunder-call (#7549)
    • 983d5fc Fix crash in modified_iterating checker for set defined as a class attrib...
    • 5c22a79 Prevent redefined-outer-name for if t.TYPE_CHECKING
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    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 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)
    dependencies python 
    opened by dependabot[bot] 1
  • ci(SlackNotification): Remove a mypy workaround

    ci(SlackNotification): Remove a mypy workaround

    In the recently released version 0.981, mypy stopped raising a false positive on generic decorators, such as @dataclass, of abstract classes. Remove the no longer needed ignore directive.

    opened by Kurt-von-Laven 1
  • chore(deps-dev): bump pylint from 2.15.0 to 2.15.2

    chore(deps-dev): bump pylint from 2.15.0 to 2.15.2

    Bumps pylint from 2.15.0 to 2.15.2.

    Commits
    • 5716ad1 Bump pylint to 2.15.2, update changelog
    • 49b5d5d Upgrade astroid version following 2.12.9 release
    • 97b07f7 Add more cases that emit bad-plugin-value (#7284)
    • c5aefa2 Bump pylint to 2.15.1, update changelog
    • de613c2 Fix and refactors for docparams extension (#7398)
    • e63a352 Fix 2.15 changelog (#7369)
    • 5b85ecc Suppress OSError in config file discovery (#7423)
    • 262723a Make missing-yield/raises-doc respect no-docstring-rgx option
    • a21af6a Upgrade astroid version following 2.12.8 release
    • b047220 Make disable-next only consider the succeeding line (#7411)
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    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 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)
    dependencies python 
    opened by dependabot[bot] 1
  • fix(Python): Upgrade from 3.9.7 to 3.9.13

    fix(Python): Upgrade from 3.9.7 to 3.9.13

    Python 3.10 has been released, but the Python linters in MegaLinter v5 don't support Python 3.10, because the MegaLinter v5 Docker base image is python:3.9.7-alpine3.13. Python 3.9.7 is not supported by actions/setup-python on the recently released ubuntu-22.04 GitHub-hosted runner, whereas Python 3.9.13 currently comes pre-installed.

    opened by Kurt-von-Laven 1
  • chore(deps-dev): bump commitizen from 2.29.0 to 2.29.1

    chore(deps-dev): bump commitizen from 2.29.0 to 2.29.1

    Bumps commitizen from 2.29.0 to 2.29.1.

    Changelog

    Sourced from commitizen's changelog.

    v2.29.1 (2022-07-26)

    Fix

    • Check: process empty commit message
    • ConventionalCommitsCz: cz's schema validates the whole commit message now

    Refactor

    • Check: remove the extra preprocessing of commit message file
    Commits
    • dee73f0 bump: version 2.29.0 → 2.29.1
    • 1f0177c fix(Check): process empty commit message
    • 6493fe2 refactor(Check): remove the extra preprocessing of commit message file
    • c247670 fix(ConventionalCommitsCz): cz's schema validates the whole commit message now
    • fc4ebc8 test(test_check_command): add multi-line no conventional commit testdata
    • a2137ac test(test_check_command): add blank line after subject for COMMIT_LOG
    • See full diff in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    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 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)
    dependencies python 
    opened by dependabot[bot] 1
  • chore(deps): bump ScribeMD/pre-commit-action from 0.8.7 to 0.8.10

    chore(deps): bump ScribeMD/pre-commit-action from 0.8.7 to 0.8.10

    Bumps ScribeMD/pre-commit-action from 0.8.7 to 0.8.10.

    Release notes

    Sourced from ScribeMD/pre-commit-action's releases.

    0.8.10

    Full Changelog: https://github.com/ScribeMD/pre-commit-action/compare/0.8.9...0.8.10

    0.8.9

    Full Changelog: https://github.com/ScribeMD/pre-commit-action/compare/0.8.8...0.8.9

    0.8.8

    Full Changelog: https://github.com/ScribeMD/pre-commit-action/compare/0.8.7...0.8.8

    Changelog

    Sourced from ScribeMD/pre-commit-action's changelog.

    0.8.10 (2022-07-19)

    Fix

    • deps: bump ScribeMD/slack-templates from 0.6.2 to 0.6.3

    0.8.9 (2022-07-19)

    Fix

    • deps: bump actions/cache from 3.0.4 to 3.0.5

    0.8.8 (2022-07-18)

    Fix

    • deps-dev: bump commitizen from 2.27.1 to 2.28.0
    Commits
    • e7b9359 bump: version 0.8.9 → 0.8.10
    • 290f72a fix(deps): bump ScribeMD/slack-templates from 0.6.2 to 0.6.3
    • eafd5c7 docs(README): Document required permissions
    • 46343a8 bump: version 0.8.8 → 0.8.9
    • 501c834 fix(deps): bump actions/cache from 3.0.4 to 3.0.5
    • d907361 bump: version 0.8.7 → 0.8.8
    • 042e144 fix(deps-dev): bump commitizen from 2.27.1 to 2.28.0
    • 32a80bd chore(deps-dev): bump pre-commit from 2.19.0 to 2.20.0
    • See full diff in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    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 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)
    dependencies github_actions 
    opened by dependabot[bot] 1
  • chore(deps-dev): bump pylint from 2.14.4 to 2.14.5

    chore(deps-dev): bump pylint from 2.14.4 to 2.14.5

    Bumps pylint from 2.14.4 to 2.14.5.

    Commits
    • 566ffca Bump pylint to 2.14.5, update changelog
    • 1b82319 Allow lists of default values in parameter documentation for Numpy (#7149)
    • 8af7472 Fix disabling of fixme (#7144)
    • eac2e04 Fix crash when using enumerate in a ternary expression (#7132)
    • f1d27ff Fix handling of -- as separator of positional arguments and flags
    • See full diff in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    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 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)
    dependencies python 
    opened by dependabot[bot] 1
  • fix(deps): bump actions/setup-python from 4.0.0 to 4.1.0

    fix(deps): bump actions/setup-python from 4.0.0 to 4.1.0

    Bumps actions/setup-python from 4.0.0 to 4.1.0.

    Release notes

    Sourced from actions/setup-python's releases.

    v4.1.0

    In scope of this pull request we updated actions/cache package as the new version contains fixes for caching error handling. Moreover, we added a new input update-environment. This option allows to specify if the action shall update environment variables (default) or not.

    Update-environment input

        - name: setup-python 3.9
          uses: actions/[email protected]
          with:
            python-version: 3.9
            update-environment: false
    

    Besides, we added such changes as:

    Commits
    • c4e89fa Improve readme for 3.x and 3.11-dev style python-version (#441)
    • 0ad0f6a Merge pull request #452 from mayeut/fix-env
    • f0bcf8b Merge pull request #456 from akx/patch-1
    • af97157 doc: Add multiple wildcards example to readme
    • 364e819 Merge pull request #394 from akv-platform/v-sedoli/set-env-by-default
    • 782f81b Merge pull request #450 from IvanZosimov/ResolveVersionFix
    • 2c9de4e Remove duplicate code introduced in #440
    • 412091c Fix tests for update-environment==false
    • 78a2330 Merge pull request #451 from dmitry-shibanov/fx-pipenv-python-version
    • 96f494e trigger checks
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    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 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)
    dependencies github_actions 
    opened by dependabot[bot] 1
  • fix(action): Specify Python version directly

    fix(action): Specify Python version directly

    Fix crash when running slack-templates action from other repositories. The setup-python action incorrectly prepends the path of the calling action checkout to the given python-version-file. Hence, the Python version file is only found correctly when slack-templates is called within this repository. Work around this bug by passing python-version instead without creating a Python version file at all.

    opened by Kurt-von-Laven 1
  • Dependency Dashboard

    Dependency Dashboard

    This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

    Pending Approval

    These branches will be created by Renovate only once you click their checkbox below.

    • [ ] chore(deps): bump autopep8 from v2.0.0 to v2.0.1
    • [ ] chore(deps): bump pre-commit hook frnmst/md-toc to v8.1.6
    • [ ] chore(deps): bump pre-commit hook pre-commit/mirrors-autopep8 to v2.0.1
    • [ ] chore(deps): bump pre-commit hook pycqa/docformatter to v1.5.1
    • [ ] chore(deps): bump pylint from v2.15.6 to v2.15.9
    • [ ] chore(deps): bump python from v3.11.0 to v3.11.1
    • [ ] fix(deps): bump actions/setup-python action to v4.3.1
    • [ ] chore(deps): bump actions/checkout action to v3.2.0
    • [ ] chore(deps): bump black from v22.10.0 to v22.12.0
    • [ ] chore(deps): bump commitizen to v2.38.0 (commitizen, commitizen-tools/commitizen)
    • [ ] chore(deps): bump isort from v5.10.1 to v5.11.3
    • [ ] chore(deps): bump poetry from v1.2.2 to v1.3.1
    • [ ] chore(deps-dev): bump flake8-bugbear from v22.10.27 to v22.12.6
    • [ ] chore(deps-dev): bump megalinter docker tag to v6.15.0
    • [ ] 🔐 Create all pending approval PRs at once 🔐

    Awaiting Schedule

    These updates are awaiting their schedule. Click on a checkbox to get an update now.

    • [ ] chore(deps): lock file maintenance

    Detected dependencies

    asdf
    .tool-versions
    • node 18.12.1
    github-actions
    .github/workflows/notify-assignee.yaml
    • actions/checkout v3.1.0
    .github/workflows/notify-reviewers.yaml
    • actions/checkout v3.1.0
    .github/workflows/test.yaml
    • actions/checkout v3.1.0
    • ScribeMD/pre-commit-action 0.9.29
    action.yaml
    • actions/setup-python v4.3.0
    • slackapi/slack-github-action v1.23.0
    poetry
    pyproject.toml
    • autopep8 ==2.0.0
    • bandit ==1.7.4
    • black ==22.10.0
    • commitizen ==2.37.0
    • flake8 ==6.0.0
    • flake8-bugbear ==22.10.27
    • isort ==5.10.1
    • mccabe ==0.7.0
    • mypy ==0.991
    • pre-commit ==2.20.0
    • pycodestyle ==2.10.0
    • pydocstyle ==6.1.1
    • pylint ==2.15.6
    pre-commit
    .pre-commit-config.yaml
    • ScribeMD/pre-commit-hooks 0.15.0
    • pre-commit/mirrors-autopep8 v2.0.0
    • PyCQA/docformatter v1.5.0
    • frnmst/md-toc 8.1.5
    • pre-commit/pre-commit-hooks v4.4.0
    • PyCQA/pydocstyle 6.1.1
    • Lucas-C/pre-commit-hooks-safety v1.3.0
    • PrincetonUniversity/blocklint v0.2.3
    • commitizen-tools/commitizen v2.37.0
    • jumanjihouse/pre-commit-hooks 3.0.0
    regex
    .github/renovate.json
    • ScribeMD/.github 0.7.15
    .github/workflows/notify-assignee.yaml
    .github/workflows/notify-reviewers.yaml
    .github/workflows/test.yaml
    .pre-commit-config.yaml
    • python 3.11.0
    pyproject.toml
    • python 3.11.0
    .tool-versions
    • poetry 1.2.2
    pyproject.toml
    • poetry-core 1.4.0
    .pre-commit-config.yaml
    • MegaLinter v6.13.0
    .mega-linter.yaml
    • flake8-bugbear 22.10.27
    • mccabe 0.7.0
    .pre-commit-config.yaml
    • toml 0.10.2

    • [ ] Check this box to trigger a request for Renovate to run again on this repository
    dependencies 
    opened by forking-renovate[bot] 0
Releases(0.6.12)
  • 0.6.12(Oct 14, 2022)

  • 0.6.11(Oct 13, 2022)

    • Bump actions/setup-python from 4.2.0 to 4.3.0 by @dependabot (#179).
    • Add python-common dictionary by @mwarres (#182).
    • Bump slackapi/slack-github-action from 1.22.0 to 1.23.0 by @dependabot (#187).

    Full Changelog: https://github.com/ScribeMD/slack-templates/compare/0.6.10...0.6.11

    Source code(tar.gz)
    Source code(zip)
  • 0.6.10(Oct 4, 2022)

  • 0.6.9(Sep 30, 2022)

    • Upgrade MegaLinter from v5.16.1 to v6.10.0 by @mwarres (#171).
    • Upgrade Python from 3.9.14 to 3.10.7 (#173).

    Full Changelog: https://github.com/ScribeMD/slack-templates/compare/0.6.8...0.6.9

    Source code(tar.gz)
    Source code(zip)
  • 0.6.8(Sep 22, 2022)

  • 0.6.7(Aug 23, 2022)

  • 0.6.6(Aug 23, 2022)

    • Upgrade Python from 3.9.7 to 3.9.13 since the ubuntu-22.04 GitHub-hosted runner doesn't support the former (#132).

    Full Changelog: https://github.com/ScribeMD/slack-templates/compare/0.6.5...0.6.6

    Source code(tar.gz)
    Source code(zip)
  • 0.6.5(Aug 4, 2022)

  • 0.6.4(Jul 28, 2022)

  • 0.6.3(Jul 19, 2022)

  • 0.6.2(Jun 18, 2022)

    • Grant minimum necessary scopes in GitHub Actions workflows (#83).
    • Add and configure Dependabot by @mwarres (#74).

    New Contributors

    • @mwarres made their first contribution in #74!

    Full Changelog: https://github.com/ScribeMD/slack-templates/compare/0.6.1...0.6.2

    Source code(tar.gz)
    Source code(zip)
  • 0.6.1(Jun 12, 2022)

    • Fix crash when running slack-templates action from other repositories. Specify Python version directly rather than through Python version file to work around actions/setup-python#430 (#77).

    Full Changelog: https://github.com/ScribeMD/slack-templates/compare/0.6.0...0.6.1

    Source code(tar.gz)
    Source code(zip)
  • 0.6.0(Jun 11, 2022)

  • 0.5.0(Jun 6, 2022)

  • 0.4.2(Jun 6, 2022)

    • Use dataclasses to improve performance and facilitate debugging (#71).
    • Simplify a ternary expression in SlackNotification (#68).

    Full Changelog: https://github.com/ScribeMD/slack-templates/compare/0.4.1...0.4.2

    Source code(tar.gz)
    Source code(zip)
  • 0.4.1(Jun 2, 2022)

    • Get pull request number from event payload rather than GITHUB_REF_NAME since the latter no longer contains the pull request number once a pull request has been merged (#66).

    Full Changelog: https://github.com/ScribeMD/slack-templates/compare/0.4.0...0.4.1

    Source code(tar.gz)
    Source code(zip)
  • 0.4.0(May 19, 2022)

    • BREAKING CHANGE: Upgrade pre-commit-action from 0.2.0 to 0.6.0, and delete the Bump Version workflow since it has been consolidated into pre-commit-action (#53).

    Full Changelog: https://github.com/ScribeMD/slack-templates/compare/0.3.2...0.4.0

    Source code(tar.gz)
    Source code(zip)
  • 0.3.2(May 7, 2022)

    • Extract pull request number from new GITHUB_REF_NAME environment variable rather than the longer GITHUB_REF in SlackNotification (#51).

    Full Changelog: https://github.com/ScribeMD/slack-templates/compare/0.3.1...0.3.2

    Source code(tar.gz)
    Source code(zip)
  • 0.3.1(May 6, 2022)

    • Get branch name from new GITHUB_REF_NAME environment variable rather than extract it from GITHUB_REF in SlackNotification (#50).

    Full Changelog: https://github.com/ScribeMD/slack-templates/compare/0.3.0...0.3.1

    Source code(tar.gz)
    Source code(zip)
  • 0.3.0(May 5, 2022)

    • Send Slack notification with status of Bump Version workflow even if it failed now that commitizen-action no longer treats having no work to do as failure (#48).
    • Move contributing guide to the special .github repository (#46).

    Full Changelog: https://github.com/ScribeMD/slack-templates/compare/0.2.4...0.3.0

    Source code(tar.gz)
    Source code(zip)
  • 0.2.4(Apr 25, 2022)

  • 0.2.3(Apr 21, 2022)

    • Permit caller repository of Bump Version workflow to have a slack-templates folder, and eliminate one unnecessary clone of the slack-templates repository when running the workflow internally (#32).

    Full Changelog: https://github.com/ScribeMD/slack-templates/compare/0.2.2...0.2.3

    Source code(tar.gz)
    Source code(zip)
  • 0.2.2(Apr 19, 2022)

    • Fix Bump Version workflow for callers by explicitly checking out the repository housing the caller workflow first. Previously, Bump Version would always try to bump slack-template's version instead, which always failed since there were no new commits. Continue checking out slack-templates subsequently in order to issue a Slack notification with the job status (#28. #29).

    Full Changelog: https://github.com/ScribeMD/slack-templates/compare/0.2.1...0.2.2

    Source code(tar.gz)
    Source code(zip)
  • 0.2.1(Apr 17, 2022)

    • Fix callable workflows by explicitly checking out this repository, not the repository housing the caller workflow (#26).

    Full Changelog: https://github.com/ScribeMD/slack-templates/compare/0.2.0...0.2.1

    Source code(tar.gz)
    Source code(zip)
  • 0.2.0(Apr 17, 2022)

    • Make Bump Version, Notify Assignee, and Notify Reviewers workflows callable (#25).
    • Correct (#18) and improve (#23) documentation.

    Full Changelog: https://github.com/ScribeMD/slack-templates/compare/0.1.2...0.2.0

    Source code(tar.gz)
    Source code(zip)
  • 0.1.2(Apr 14, 2022)

    • Use more idiomatic language features, specifically assignment expressions, conditional expressions, and next, for clarity. Remove an unnecessary test in WorkflowResult. A list of length one is not a special case; ultimately the lone element will be returned regardless (#9).

    Full Changelog: https://github.com/ScribeMD/slack-templates/compare/0.1.1...0.1.2

    Source code(tar.gz)
    Source code(zip)
  • 0.1.1(Nov 15, 2021)

    • Replace "from" with "to" in copy of Slack notifications for merges (#3).

    Full Changelog: https://github.com/ScribeMD/slack-templates/compare/0.1.0...0.1.1

    Source code(tar.gz)
    Source code(zip)
  • 0.1.0(Oct 2, 2021)

    • Support Slack bot (85b2617cc360c8cb71149a9264afd9d968000d02).
    • Add assignee, custom, reviewers, and result templates (85b2617cc360c8cb71149a9264afd9d968000d02).

    Full Changelog: https://github.com/ScribeMD/slack-templates/commits/0.1.0

    Source code(tar.gz)
    Source code(zip)
A Telegram bot to transcribe audio, video and image into text.

Transcriber Bot A Telegram bot to transcribe audio, video and image into text. Deploy to Heroku Local Deploying Install the FFmpeg. Make sure you have

10 Dec 19, 2022
Der Dischkort Bot für Andiismus

AndreOS Der Dischkort Bot für Andiismus Wichtigger Bot für den hauseigenen Discord-Server Indoktrinationsmechanismusleitungsprogramm der andiistischen

Leon Bartle 3 Jan 13, 2022
A Telegram Bot to Extract Various Types Of Archives

IDN Unzip Bot A Telegram Bot to Extract Various Types Of Archives Features Extract various types of archives like rar, zip, tar, 7z, tar.xz etc. Passw

IDNCoderX 8 Jul 25, 2022
Flask extension that provides integration with Azure Storage

Flask-Azure-Storage A Flask extension that provides integration with Azure Storage Table of Contents Flask-Azure-Storage Install Usage Examples Create

Alejo Arias 17 Nov 14, 2021
iCloudPy is a simple iCloud webservices wrapper library written in Python

iCloudPy 🤟 Please star this repository if you end up using the library. It will help me continue supporting this product. 🙏 iCloudPy is a simple iCl

Mandar Patil 49 Dec 26, 2022
A Discord bot themed around the Swedish heavy metal band Sabaton! (Python)

A Discord bot themed around the Swedish heavy metal band Sabaton! (Python)

Evan Lundberg 1 Nov 29, 2021
Python linting made easy. Also a casual yet honorific way to address individuals who have entered an organization prior to you.

pysen What is pysen? pysen aims to provide a unified platform to configure and run day-to-day development tools. We envision the following scenarios i

Preferred Networks, Inc. 452 Jan 05, 2023
A Twitch bot to provide information from the WebNowPlayingCompanion extension

WebNowPlayingTwitch A Twitch bot made using TwitchIO which displays information obtained from the WebNowPlaying Compaion browser extension. Image is o

NiceAesth 1 Mar 21, 2022
A simple API wrapper for the Tenor API

Gifpy A simple API wrapper for the Tenor API Installation Python 3.9 or higher is recommended python3 -m pip install gifpy Clone repository: $ git cl

Juan Ignacio Battiston 4 Dec 22, 2021
Debugging with Stack Overflow: Web Search Behavior in Novice and Expert Programmers

Debugging with Stack Overflow: ICSE SEET, 2022 This is the GitHub repository associated with the 2022 ICSE SEET paper, Debugging with Stack Overflow:

Madeline Endres 1 Jan 31, 2022
This repository contains unofficial code reproducing Agent57

Agent57 This repository contains unofficial code reproducing Agent57, which outp

19 Dec 29, 2022
Disqus API bindings for Python

disqus-python Let's start with installing the API: pip install disqus-python Use the API by instantiating it, and then calling the method through dott

DISQUS 163 Oct 14, 2022
Python Library to Extract youtube video Tags without Youtube API

YoutubeTags Python Library to Extract youtube video Tags without Youtube API Installation pip install YoutubeTags Example import YoutubeTags from Yout

Nuhman Pk 17 Nov 12, 2022
Automation that uses Github Actions, Google Drive API, YouTube Data API and youtube-dl together to feed BackJam app with new music

Automation that uses Github Actions, Google Drive API, YouTube Data API and youtube-dl together to feed BackJam app with new music

Antônio Oliveira 1 Nov 21, 2021
Python bindings for swm-core client REST API

Python bindings for swm-core client REST API Description Sky Port is an universal bus between user software and compute resources. It can also be cons

Sky Workflows 1 Jan 01, 2022
Tinkoff social pulse api wrapper

Tinkoff social pulse api wrapper

Semenov Artur 9 Dec 20, 2022
Example notebooks for working with SageMaker Studio Lab. Sign up for an account at the link below!

SageMaker Studio Lab Sample Notebooks Available today in public preview. If you are looking for a no-cost compute environment to run Jupyter notebooks

Amazon Web Services 304 Jan 01, 2023
A script to forward mass number of media to another group/channel. Heroku deploy

Telegram Forward Script 😇 This is a Script to Forward Large Number of Files to Another Telegram Channel. Star එකක් දාල fork එකක් ගහපියව් 🥴 If You Tr

Anjana Madu 17 Oct 21, 2022
A Python script that exports users from one Telegram group to another using one or more concurrent user bots.

ExportTelegramUsers A Python script that exports users from one Telegram group to another using one or more concurrent user bots. Make sure to set all

Fasil Minale 17 Jun 26, 2022