Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A simple GitHub action to post a Slack message when a new version is released.

License

NotificationsYou must be signed in to change notification settings

italia/slack-notify-release-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

Get invited

A simple GitHub action to post a Slack message when a new version is released.

Get a Bot token

Go inSlack API portal and get the bot token to run this app.

image

Inputs

The following inputs briefly explained here are fully declared and documented in theaction.yaml:

  • slack_token [Required] - Slack token

  • channel_id [Required] - Channel ID where to post (shown in 'channel details', e.g. 'C03AA0A0A3A')

  • project_name [Required] - Project name to display

Examples

Run this action on new tag push or new release!

on:push:tags:      -'v1*'jobs:examplejob:runs-on:ubuntu-lateststeps:      -uses:actions/checkout@v3with:fetch-depth:0ref:main      -name:Notify new release on Slackuses:italia/slack-notify-release-actionwith:slack_token:${{ secrets.SLACK_TOKEN }}channel_id:C03AA0A0A3Aproject_name:Slack notification action

Result:

image

Build the action

Install dependencies

npm i

Build the action

npm run build

Contributing

Contributing is always appreciated.Feel free to open issues, fork or submit a Pull Request.If you want to know more about how to add new fields, check outCONTRIBUTING.md.

Maintainers

This software is maintained by theDevelopers Italia team.

License

© 2023 Dipartimento per la Trasformazione Digitale - Presidenza del Consiglio deiMinistri

Licensed under the EUPL.The version control system provides attribution for specific lines of code.

Remarks

This GitHub Action is published in the Github Marketplace.As such, you can find theTerms of Service here.Also,hereyou can find the GitHub Marketplace Developer Agreement.

About

A simple GitHub action to post a Slack message when a new version is released.

Resources

License

Contributing

Stars

Watchers

Forks

Contributors2

  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp