https://github.com/ansys/actions
A collection of reusable workflows
https://github.com/ansys/actions
actions automation ci-cd github-actions workflows
Last synced: 3 months ago
JSON representation
A collection of reusable workflows
- Host: GitHub
- URL: https://github.com/ansys/actions
- Owner: ansys
- License: mit
- Created: 2022-10-10T12:19:34.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2026-03-27T00:24:36.000Z (3 months ago)
- Last Synced: 2026-03-27T02:51:31.915Z (3 months ago)
- Topics: actions, automation, ci-cd, github-actions, workflows
- Language: Python
- Homepage: https://actions.docs.ansys.com/
- Size: 33.2 MB
- Stars: 17
- Watchers: 33
- Forks: 7
- Open Issues: 53
-
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
- Authors: AUTHORS
Awesome Lists containing this project
README
# Ansys actions
[![ansys][Ansys badge]][actions.docs.ansys.com]
[![CI-CD][CI-CD badge]][CI-CD yml]
[![MIT][MIT badge]][MIT url]
A repository containing a collection of [GitHub Workflows] to be reused by
projects in the Ansys ecosystem.
For more information on available actions and how to use them, see
[actions.docs.ansys.com].
## Recommended workflow strategy
The different actions provided by [ansys/actions] can be used to create a
simple but effective workflow.
The following lines describe the suggested workflows for various events, such as
pushing a new commit to a pull request, merging a commit to the main branch of a
repository, and performing a new release. Each image showcases the distinct job
steps declared in a YML file. Jobs highlighted in green signify that they
execute, while those with a blue background indicate that they do not execute.
For additional in-depth information refer to the poster [CI/CD pipelines for
scientists].
### Recommended workflow when pushing a new commit to a pull-request
This workflow is recommended to ensure that the code ready to be merged is
compliant with the project style, its code integrity, and that it is capable of
successfully generating all the desired library artifacts.
```mermaid
graph LR
A(Doc style) --> B(Doc build)
C(Code style) --> D(Tests)
B & D --> E(Build library) --> F(Release library) & H(Doc deploy dev)
F --> G(Doc deploy stable)
classDef green fill:green, fill-opacity:0.5, stroke:green, stroke-width:2
class A,B,C,D,E green
classDef blue fill:lightblue, fill-opacity:0.5, stroke:lightblue
class F,H,G blue
```
### Recommended workflow when merging a new commit to the main branch of a repository
This workflow is similar to the one for validating new code contributions in a
pull-request, but it also deploys the development documentation as new changes
were introduced in the main development branch.
```mermaid
graph LR
A(Doc style) --> B(Doc build)
C(Code style) --> D(Tests)
B & D --> E(Build library) --> F(Release library) & H(Doc deploy dev)
F --> G(Doc deploy stable)
classDef green fill:green, fill-opacity:0.5, stroke:green, stroke-width:2
class A,B,C,D,E,H green
classDef blue fill:lightblue, fill-opacity:0.5, stroke:lightblue
class F,G blue
```
### Recommended workflow when performing a new release
This workflow outlines the recommended steps for performing a new software
release, ensuring a smooth and well-documented process by deploying
the stable documentation at the end of the workflow.
```mermaid
graph LR
A(Doc style) --> B(Doc build)
C(Code style) --> D(Tests)
B & D --> E(Build library) --> F(Release library) & H(Doc deploy dev)
F --> G(Doc deploy stable)
classDef green fill:green, fill-opacity:0.5, stroke:green, stroke-width:2
class A,B,C,D,E,F,G green
classDef blue fill:lightblue, fill-opacity:0.5, stroke:lightblue
class H blue
```
[Ansys badge]: https://img.shields.io/badge/Ansys-ffc107.svg?labelColor=black&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAABDklEQVQ4jWNgoDfg5mD8vE7q/3bpVyskbW0sMRUwofHD7Dh5OBkZGBgW7/3W2tZpa2tLQEOyOzeEsfumlK2tbVpaGj4N6jIs1lpsDAwMJ278sveMY2BgCA0NFRISwqkhyQ1q/Nyd3zg4OBgYGNjZ2ePi4rB5loGBhZnhxTLJ/9ulv26Q4uVk1NXV/f///////69du4Zdg78lx//t0v+3S88rFISInD59GqIH2esIJ8G9O2/XVwhjzpw5EAam1xkkBJn/bJX+v1365hxxuCAfH9+3b9/+////48cPuNehNsS7cDEzMTAwMMzb+Q2u4dOnT2vWrMHu9ZtzxP9vl/69RVpCkBlZ3N7enoDXBwEAAA+YYitOilMVAAAAAElFTkSuQmCC
[actions.docs.ansys.com]: https://actions.docs.ansys.com/
[ansys/actions]: https://github.com/ansys/actions/
[CI-CD badge]: https://github.com/ansys/actions/actions/workflows/ci_cd_night.yml/badge.svg
[CI-CD yml]: https://github.com/ansys/actions/actions/workflows/ci_cd_night.yml
[MIT badge]: https://img.shields.io/badge/License-MIT-blue.svg
[MIT url]: https://opensource.org/blog/license/mit
[GitHub Workflows]: https://docs.github.com/en/actions/using-workflows/about-workflows/
[CI/CD pipelines for scientists]: https://scipy2023.pyansys.com/ci_cd.pdf