Skip to content

[accessibility-alt-text-bot] Support for Discussions #11

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

Closed
3 tasks done
khiga8 opened this issue May 10, 2023 · 2 comments · Fixed by #17
Closed
3 tasks done

[accessibility-alt-text-bot] Support for Discussions #11

khiga8 opened this issue May 10, 2023 · 2 comments · Fixed by #17
Assignees

Comments

@khiga8
Copy link
Contributor

khiga8 commented May 10, 2023

Currently this action has support for Issues and Pull Requests. Let's add support for Discussions!

  • Support for discussion body
  • Support for discussion comment
  • Cut new release
@kendallgassner
Copy link
Collaborator

kendallgassner commented May 10, 2023

I actually think we just need to use the discussions dispatch:

discussion:
    types: [created, edited]
discussion_comment:
    types: [created, edited] 

And possibly add event.discussion as well

 if: ${{ github.event.issue || github.event.pull_request }}

@kendallgassner
Copy link
Collaborator

Ah, I see we will need some additional logic to gather the right params.

Reference:
action.yml line 13

@khiga8 khiga8 self-assigned this May 19, 2023
@inkblotty inkblotty changed the title Support for Discussions [accessibility-alt-text-bot] Support for Discussions May 31, 2023
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 a pull request may close this issue.

2 participants