Skip to content

Github action that notifies a slack channel when a file has been changed

License

Notifications You must be signed in to change notification settings

ShareTheMeal/slack-file-watcher-github-action

Repository files navigation

Slack File Watcher Action

Checks if the file provided has additions and sends them notification to a slack channel.

Status

This action should be considered to be pre-production. Action configuration and behaviour may change without notice

Usage

See action.yml

    steps:
      - name: Checkout
        uses: actions/checkout@v2
      - name: Hello world action step
        id: slack-notifier
        uses: ShareTheMeal/[email protected]
        with:
          file: 'Translations.xml'
          slack-title: 'New Keys'
          slack-webhook: ${{ secrets.SLACK_WEBHOOK }}
          slack-channel: '#action_test'
          github-token: ${{ github.token }}
          include-pr-link: true

About

Github action that notifies a slack channel when a file has been changed

Resources

License

Stars

Watchers

Forks

Packages

No packages published