Skip to content

GitHub Actions

David Jansen edited this page May 4, 2022 · 3 revisions

In addition to the extensive GitLab-CI integration, the following GitHub Actions are also.

Automated deletion of branches

Since it can unfortunately happen for various reasons that created branches are not merged into the default branch, we have a GitHub action, which marks stale branches and removes them. The concept is shown below: Slack_Activity (1)

A scan of all branches in AixLib is performed on the 1st of each month. There are two relevant categories:

  1. branches older than 90 days
  2. branches older than 180 days

In the first case, the issue creator is notified that the branch is stale. In the second case, the branch is deleted. However, in order for the branch to be recoverable, a pull request is first created. This allows the branch to be restored at any time (see screenshot). Members of the EBC are additionally informed via Slack about the marking and/or deletion of branches using the Slack API.

restore_branch 1

Automatic branch creation

In order to keep the naming of branches consistent, a branch is a GitHub action automatically creates a branch based on the issue name when an issue is created.

Clone this wiki locally