Skip to content

BerryBytes/workflows

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Repository of Reusable GitHub Actions Workflows


Reusable GitHub Actions Workflows

Welcome to our repository of reusable GitHub Actions workflows. These workflows are designed to be easily integrated into any GitHub repository to automate various aspects of software development and maintenance processes.

Available Workflows

Currently, the repository hosts the following reusable workflows:

  • SonarCloud Analysis: Automates the code quality checking using SonarCloud.
  • Notification: Github Event Notification in Google WorkSpace and Slack Channel .
  • Stale Issue/PR Handler: Manages inactive issues and pull requests to keep project boards clean and updated.

How to Use the Workflows

Prerequisites

Before using these workflows, make sure you have:

  • A GitHub account.
  • Required permissions to add workflows and secrets to your GitHub repositories.

General Usage Steps

  1. Choose a Workflow: Decide which workflow from this repository you want to use.

  2. Add Secrets (if required): Some workflows might require you to set up repository secrets. For instance, the SonarCloud Analysis needs secrets like SONAR_TOKEN. You can add these secrets by navigating to:

    Settings > Secrets > Actions > New repository secret
    
  3. Import the Workflow: To utilize a workflow, add it to a .yml file in the .github/workflows directory of your repository. For example, to use the SonarCloud Analysis, you might write:

    name: SonarCloud Analysis
    on:
      push:
        branches:
          - main
          - develop
      pull_request:
    
    jobs:
      sonarcloud:
        uses: berrybytes/workflows/.github/workflows/sonarcloud-analysis.yml@main
        secrets:
          SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
          SONAR_ORGANIZATION: ${{ secrets.SONAR_ORGANIZATION }}
          SONAR_PROJECT_KEY: ${{ secrets.SONAR_PROJECT_KEY }}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors