@@ -95,40 +95,40 @@ jobs:
9595 env :
9696 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
9797
98- # notify-community:
99- # needs: [create-release]
100- # runs-on: ubuntu-latest
101- # steps:
102- # - name: Checkout
103- # uses: actions/checkout@v2
104- # - name: Get version from tag
105- # id: tag_name
106- # run: |
107- # echo ::set-output name=current_version::${GITHUB_REF#refs/tags/v}
108- # - name: Post to the community Slack channel
109- # uses: slackapi/[email protected] 110- # with:
111- # channel-id: 'C04KT9JNRHS'
112- # payload: |
113- # {
114- # "text": "[Release] Baselime Lambda Opentelemetry for Node.JS v${{ steps.tag_name.outputs.current_version }}",
115- # "blocks": [
116- # {
117- # "type": "section",
118- # "text": {
119- # "type": "mrkdwn",
120- # "text": "*[Release] Baselime Lambda Opentelemetry for Node.JS v${{ steps.tag_name.outputs.current_version }}*"
121- # }
122- # },
123- # {
124- # "type": "section",
125- # "text": {
126- # "type": "mrkdwn",
127- # "text": "<https://github.com/Baselime/lambda-node-opentelemetry/releases/tag/v${{ steps.tag_name.outputs.current_version }}|https://github.com/Baselime/lambda-node-opentelemetry/releases/tag/v${{ steps.tag_name.outputs.current_version }}>"
128- # }
129- # }
130- # ]
131- # }
132- # env:
133- # SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
98+ notify-community :
99+ needs : [create-release]
100+ runs-on : ubuntu-latest
101+ steps :
102+ - name : Checkout
103+ uses : actions/checkout@v2
104+ - name : Get version from tag
105+ id : tag_name
106+ run : |
107+ echo ::set-output name=current_version::${GITHUB_REF#refs/tags/v}
108+ - name : Post to the community Slack channel
109+ 110+ with :
111+ channel-id : ' C04KT9JNRHS'
112+ payload : |
113+ {
114+ "text": "[Release] Baselime Lambda Opentelemetry for Node.JS v${{ steps.tag_name.outputs.current_version }}",
115+ "blocks": [
116+ {
117+ "type": "section",
118+ "text": {
119+ "type": "mrkdwn",
120+ "text": "*[Release] Baselime Lambda Opentelemetry for Node.JS v${{ steps.tag_name.outputs.current_version }}*"
121+ }
122+ },
123+ {
124+ "type": "section",
125+ "text": {
126+ "type": "mrkdwn",
127+ "text": "<https://github.com/Baselime/lambda-node-opentelemetry/releases/tag/v${{ steps.tag_name.outputs.current_version }}|https://github.com/Baselime/lambda-node-opentelemetry/releases/tag/v${{ steps.tag_name.outputs.current_version }}>"
128+ }
129+ }
130+ ]
131+ }
132+ env :
133+ SLACK_BOT_TOKEN : ${{ secrets.SLACK_BOT_TOKEN }}
134134
0 commit comments