Skip to content

Commit

Permalink
update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
logikal committed Jan 16, 2025
1 parent 6297df2 commit feac3b7
Showing 1 changed file with 64 additions and 1 deletion.
65 changes: 64 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,65 @@
# shared-workflows
automation workflows

## Introduction

This repository is a centralized location for sharing GitHub Actions and Workflows across Aerospike repos. Because we have many public repos, this repo is also public.

## Repository Structure

To maintain organization and ease of use, we use the following directory layout:

```text
shared-workflows/
├── .github/
│ ├── actions/
│ │ ├── action-1/
| | | ├── action1.yaml
| | | ├── README.md
│ │ ├── action-2/
| | | ├── action2.yaml
| | | ├── README.md
│ │ └── ...
│ │
│ └── workflows/
│ ├── workflow-1/
│ │ ├── README.md
│ │ ├── workflow1.yaml
│ ├── workflow-2/
│ │ ├── README.md
│ │ ├── workflow2.yaml
│ └── ...
```

- **actions/**: Contains individual GitHub Actions.
- **workflows/**: Contains reusable GitHub Workflows.
- **docs/**: Documentation for each action and workflow.

## Versioning

GitHub Actions and Workflows in the same repository necessarily share a version. We will use semantic versioning (SemVer) to manage changes. Each release will be tagged in the repository.

We suggest that you not pin these actions/workflows to a specific sha in your repo and instead use the semver tag; this way you can use dependabot to keep your workflows up to date.

### Major/Breaking Changes

If you need to introduce a major/breaking change in a specific action or workflow, that may indicate that we should move it to a different repo.

## Usage

To use a workflow or action from this repository, reference it in your GitHub repository's workflow file. For example:

```yaml
uses: aerospike/shared-workflows/workflows/[email protected]
```
## Contributing
While we welcome contributions from the community, that isn't the intended use case for this repository. We'll try our best but may not respond to your issue or PR. We may close an issue or PR without much feedback.
## Editor Tooling
Linting will be run on PRs; you can save yourself some time and annoyance by linting as you write.
If you use Visual Studio Code or a derivative, there are suggested extensions in the [.vscode](.vscode) directory. You're highly encouraged to use these extensions or similar tools in your editor of choice. Trunk in particular can be run without IDE integration before committing.

0 comments on commit feac3b7

Please sign in to comment.