aabed/Upload File to Slack
GitHub Action to upload files to a Slack channel using a custom Node.js script.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Sep 20, 2024
- License
- None
- Runtime
- Deprecated runtime
Pinned Snippet
uses: aabed/slack-file-upload-action@f73e44209fcd5366ec97042958b39f2bbd1f4995 # v1tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| slack_token | The Slack bot token (xoxb-...) | yes | — |
| file_path | The path to the file that should be uploaded. | yes | — |
| channel_id | The Slack channel ID where the file should be uploaded. | yes | — |
| initial_comment | An optional comment to include with the file upload. | no | — |
Outputs
| name | description |
|---|---|
| file_url | The URL of the uploaded file in Slack. |