Interaction with slack send individual messages #112332
Replies: 2 comments
-
I would imagine this is possible using the slack API but to do this you would have to map the channel IDs to respective github usernames. So for example you could use environment variables or secrets to map channel IDs to github usernames and lets say if @lcdiaz2106 triggered the workflow, the action would send the message to channel ID against your |
Beta Was this translation helpful? Give feedback.
-
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Question
Body
Good moring !
first of all, sorry if this question have already been posted.
I just create a GHA script that reset password on postgres database. The workflow is working fine, and generate a good password. At this point I use this to send the password to a channel
`- name: Send data to Slack workflow
id: slack
uses: slackapi/[email protected]
But, what I would like to do is send the password to the user that trigger the workflow, so the user this one github.actor
Is it possible ? Some one can share some code ? I google it but it's confusing.
many thanks
Beta Was this translation helpful? Give feedback.
All reactions