Cleanup GitHub Actions workflows
derberg opened this issue ยท 1 comments
Context
-
We want to make sure we have healthy community and people respec each other in GitHub. We want to monitor all comments in every repository and analyze sentiments to identify negative ones and get proper notification. Idea is to use GitHub Actions for it, to check sentiments with Google Natural Language API and post negative comments to Slack for review.
-
We manage community files in global
.github
repo, and we have GitHub Funding config file there too. As a result we need to cleanup all the repos to remove.github/FUNDING.yml
-
Start supporting new GitHub pull request event that allows gives access to
GITHUB_TOKEN
with write access. Fix welcome contributors workflow is needed. -
We want to automatically merge Pull Requests that are submitted by Dependanbot. New workflow needs to be added, or if already existins it needs to be modified
Description
- Add this workflow file called
sentiment-analysis.yml
to.github/workflows
(create it if it doesn't exist yet) directory: https://gist.github.com/derberg/ab362e4b37f542e7e1813e67b7cb11ee
Proper secrets are already added to GitHub organization so it is as simple as adding above file to workflows dir. - Remove
.github/FUNDING.yml
if it exists - If not done already rename
pull_request
from line 4 topull_request_target
in.github/workflows/welcome-first-time-contrib.yml
file - Create new file called
automerge.yml
with the following content: https://gist.github.com/derberg/024814a26959d54f683e7bd68d68f007
If the repository already has a file calledautomerge-release-pr-bump.yml
than rename it and adjustif
statements to checkgithub.actor == 'asyncapi-bot' || github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]'
instead ofgithub.actor == 'asyncapi-bot'
๐ This issue has been resolved in version 0.8.0 ๐
The release is available on:
Your semantic-release bot ๐ฆ๐