register icon indicating copy to clipboard operation
register copied to clipboard

[CI] Fix github actions automation for auto-comment and auto-label

Open phenax opened this issue 5 years ago • 12 comments

When the project started it was using pull_request_target event in github actions to trigger some automation. But due to vulnerabilities in the workflow, we are currently using pull_request event, because of which the automation stopped working.

The expected flow is

PR created ---labeller---> PR labelled (domain) ---merge---> PR comment with instructions for the user

phenax avatar Apr 11 '21 17:04 phenax

I can take a look into this!

jasonappah avatar Apr 13 '21 02:04 jasonappah

@jasonappah, feel free to pick this up. Let me know if you need any more context regarding this issue.

phenax avatar Apr 19 '21 17:04 phenax

#730

Craftzman7 avatar Apr 29 '21 15:04 Craftzman7

maybe try checking out this link

jayjxon avatar May 02 '21 01:05 jayjxon

This issue has been marked as stale due to inactivity and will be closed. Comment anything on this PR to prevent it

github-actions[bot] avatar Jun 01 '21 15:06 github-actions[bot]

My bad, I got sidetracked with school, will get back to fixing this today!

jasonappah avatar Jun 02 '21 18:06 jasonappah

@jasonappah, that's alright. If you have any alternate ideas on how to achieve something similar to this, that'll be even better. Also, adding labels seems optional so if a solution only works for commenting on merged prs, that'll work too.

phenax avatar Jun 06 '21 11:06 phenax

There are only three ways :

  1. pull_request_target

  2. Webhooks+relay server+ repository_dispatch

  3. External CI/Pipeline

thispsj avatar Aug 21 '21 16:08 thispsj

This issue has been marked as stale due to inactivity and will be closed. Comment anything on this PR to prevent it

github-actions[bot] avatar Oct 08 '21 14:10 github-actions[bot]

This issue has been marked as stale due to inactivity and will be closed. Comment anything on this PR to prevent it

github-actions[bot] avatar Feb 27 '22 16:02 github-actions[bot]

Once #3017 is merged then this should all be fixed. As I have already fixed the automated responses

andrewstech avatar Jul 28 '22 12:07 andrewstech

All fixed Closing this issue ☺️

andrewstech avatar Jul 28 '22 14:07 andrewstech