Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Author field to the attachment #21

Closed
wants to merge 3 commits into from
Closed

Add Author field to the attachment #21

wants to merge 3 commits into from

Conversation

torbjornvatn
Copy link

@torbjornvatn torbjornvatn commented Jul 1, 2020

Purpose

Add a new field to the Slack attachment with the Author/Actor from the github event triggering the action

Fixes #14

Changelog

  • I have updated CHANGELOG.md under "Unreleased" with the changes included in this PR.

@triralph
Copy link

I'll be watching this one, I actually want the author on the slack messages as well.

@ThomasEg
Copy link

...this is nice...

@jplhomer jplhomer closed this Nov 11, 2020
@jplhomer jplhomer deleted the branch voxmedia:main November 11, 2020 15:50
@jplhomer jplhomer reopened this Nov 11, 2020
@jplhomer jplhomer changed the base branch from master to main November 11, 2020 15:52
@ThomasEg
Copy link

ThomasEg commented Jan 5, 2021

Any progress on getting this merged? I've got a couple of requests on this exact feature....

@thiago-scherrer
Copy link

Hello! Any news about this PR? This feature interests me :)

@pam-
Copy link
Contributor

pam- commented Jun 23, 2021

@ThomasEg @thiago-scherrer hello! we've had some changes on the team hence the slow response. We will get to this asap! Thanks for bearing with us.

@kimegede
Copy link

I would like author as well :)
If we get the conflicts fixed, would it be possible to get this merged soon? 🙏

@kimegede
Copy link

kimegede commented Jul 5, 2021

@torbjornvatn could you please resolve the conflicts? :)
Then hopefully it can speed up the process.

@torbjornvatn
Copy link
Author

@kimegede fixed it now

@kimegede
Copy link

Really nice @torbjornvatn! Big high five 🙏
@pam- 😊

Comment on lines +35 to +43
it('show author/actor', () => {
const attachments = buildSlackAttachments({ status: 'STARTED', color: 'good', github: GITHUB_PUSH_EVENT });

expect(attachments[0].fields.find(a => a.title === 'Author')).toEqual({
title: 'Author',
value: 'Codertocat',
short: true,
});
});

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀 🚀 🚀 🚀 🚀

Copy link

@thiago-scherrer thiago-scherrer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀

@kimegede
Copy link

@pam- can we soon get this one merged please? :)

@kimegede
Copy link

Is there maybe someone else we will need to tag, to get included and being able to move forward with this?
(Rather want the source to be improved, than fork it to add this).

@voxmedia voxmedia deleted a comment from kimegede Sep 17, 2021
@pam-
Copy link
Contributor

pam- commented Sep 17, 2021

@kimegede We are running with less engineers than usual and might not be able to maintain this for a while. I will confirm that merging this doesn't interfere with any of our repos before pushing the button.

For future features, I encourage you to fork this and make it your own. Thanks!

@kimegede
Copy link

Thanks for the feedback Pam, that's understood.
Have a good one :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Include the user who triggered an event
7 participants