https://github.com/terraform-ibm-modules/common-pipeline-assets
Provides common pipeline and workflow assets that support the modules in this GitHub organization
https://github.com/terraform-ibm-modules/common-pipeline-assets
core-team
Last synced: about 2 months ago
JSON representation
Provides common pipeline and workflow assets that support the modules in this GitHub organization
- Host: GitHub
- URL: https://github.com/terraform-ibm-modules/common-pipeline-assets
- Owner: terraform-ibm-modules
- Created: 2022-06-22T14:33:42.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-12-18T19:26:00.000Z (5 months ago)
- Last Synced: 2024-12-26T15:04:02.150Z (5 months ago)
- Topics: core-team
- Size: 621 KB
- Stars: 0
- Watchers: 17
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# common-pipeline-assets
[](https://github.com/semantic-release/semantic-release)
[](https://github.com/pre-commit/pre-commit)A repo to maintain common pipeline assets
## Common pipeline workflows
The GitHub Actions workflows are called from the `.github/workflows` directory.
The workflows use the following keywords and syntax:- Call the reusable workflow by using the `uses` keyword.
- Refer to the workflow with `{owner}/{repo}/.github/workflows/{filename}@{ref}`. `{ref}` is a release version, not a branch name, for security reasons. The `renovate` task updates the reference to the most recent semantic version of reusable workflows.
- Use the `secrets: inherit` keyword to pass secrets from the module workflow. The common pipeline workflows use secrets in the [terraform-ibm-modules](https://github.com/terraform-ibm-modules) project.For example, here's how the `common-terraform-module-ci` workflow is called in the module template.
```yaml
jobs:
call-terraform-ci-pipeline:
uses: terraform-ibm-modules/common-pipeline-assets/.github/workflows/[email protected]
secrets: inherit
```