Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/equinor/ops-actions
Reusable GitHub Actions workflows for operational tasks
https://github.com/equinor/ops-actions
actions cicd devops ops pipelines workflows
Last synced: 4 days ago
JSON representation
Reusable GitHub Actions workflows for operational tasks
- Host: GitHub
- URL: https://github.com/equinor/ops-actions
- Owner: equinor
- License: mit
- Created: 2021-12-10T11:34:51.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-11-06T13:22:17.000Z (10 days ago)
- Last Synced: 2024-11-06T14:26:13.327Z (9 days ago)
- Topics: actions, cicd, devops, ops, pipelines, workflows
- Language: Shell
- Homepage:
- Size: 694 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
- Security: SECURITY.md
Awesome Lists containing this project
README
# Equinor Ops Actions
[![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-%23FE5196?logo=conventionalcommits&logoColor=white)](https://conventionalcommits.org)
[![SCM Compliance](https://scm-compliance-api.radix.equinor.com/repos/equinor/ops-actions/badge)](https://scm-compliance-api.radix.equinor.com/repos/equinor/ops-actions/badge)[Reusable GitHub Actions workflows](https://docs.github.com/en/actions/using-workflows/reusing-workflows) for common operational tasks.
Examples:
- 🌲 `terraform.yml`: provision cloud environment using Terraform.
- 📦 `docker.yml`: build Docker image and push to container registry.
- 🚀 `azure-webapp.yml`: deploy to Azure Web App.## Usage
Call a reusable workflow by using the following syntax:
```yaml
on: [push]
jobs:
example:
uses: equinor/ops-actions/.github/workflows/{filename}@{ref}
with: {}
secrets: {}
````{filename}` is the name of a workflow file in the [workflows directory](.github/workflows), and `{ref}` is (in order of preference) a commit SHA, release tag or branch name.
To pass inputs and secrets to the reusable workflow, use the `with` and `secrets` keywords.
For specific usage examples, see [this document](docs/usage-examples.md).
### Version updates
Use [Dependabot](https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/about-dependabot-version-updates) to keep workflows you use updated to the latest versions.
Create a Dependabot configuration file `.github/dependabot.yml` in your repository containing the following configuration:
```yaml
version: 2
updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
```## Contributing
See [contributing guidelines](CONTRIBUTING.md).
## License
This project is licensed under the terms of the [MIT license](LICENSE).