Skip to content
This repository has been archived by the owner on Jul 5, 2022. It is now read-only.

Automating repetitive tasks with GitHub Actions #1894

Open
anuraghazra opened this issue Nov 7, 2019 · 1 comment
Open

Automating repetitive tasks with GitHub Actions #1894

anuraghazra opened this issue Nov 7, 2019 · 1 comment

Comments

@anuraghazra
Copy link
Contributor

anuraghazra commented Nov 7, 2019

(these are only my ideas)

By considering how powerful GitHub actions are maybe we could automate some tasks like merging community contributions.

Here's how it can be done :-

Step 1

In the PR template we can check to make sure that the issue is about CC.
We could test if the contributor checked the [x] is it a community contribution field in the description.

We could also add labels.

Step 2

We can see if the PR passes all other checks with GithubChecksAPI, then we will merge the PR.

After that, automatically appreciate the contributor for his/her contribution.

Step 3

If any of the checks fails then we will ask for manual review.


here's all of the events that github actions supports
https://help.github.com/en/actions/automating-your-workflow-with-github-actions/events-that-trigger-workflows

@GypsyDangerous
Copy link
Member

GypsyDangerous commented Nov 7, 2019

I really like this idea, the only issue I see is that since the automated system would merge and there wouldn't be a human in the loop, it would possible for contributions that break the code of conduct, like containing vulgar language could get through. contributions like that are rarely submitted so it wouldn't be a big issue, but its something to think about.

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

No branches or pull requests

3 participants