Skip to content

Commit 5cb724a

Browse files
Merge pull request #119 from puppetlabs/maint-update_readme_and_docs
(MAINT) Update readme and reviewdog docs
2 parents 9c0d9dd + 124f1e2 commit 5cb724a

File tree

2 files changed

+54
-1
lines changed

2 files changed

+54
-1
lines changed

README.md

Lines changed: 47 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,47 @@
1-
# cat-github-actions
1+
# cat-github-actions
2+
3+
This repository contains GitHub Actions workflows and configurations for automating various tasks related to the `Content and Tooling (CAT)` project. These workflows help ensure code quality, automate testing, and streamline the release process.
4+
5+
## Workflows
6+
7+
The following are the workflows we currently maintain in this repository:
8+
* gem_acceptance: runs automated acceptance CI on tooling PRs
9+
* gem_ci: runs automated unit testing CI on tooling PRs
10+
* gem_release_prep: prepares the gem for release by running necessary pre-release checks and tasks
11+
* gem_release: handles the release process of the gem, including versioning and publishing
12+
* lint: runs linting checks on the codebase to ensure code quality and consistency
13+
* mend_ruby: automates the usage of mend for vulnerability scanning on modules
14+
* module_acceptance: runs automated acceptance CI for modules on PRs
15+
* module_ci: runs automated unit testing CI for modules on PRs
16+
* module_release_prep: prepares the module for release by running necessary pre-release checks and tasks
17+
* module_release: handles the release process of the module, including versioning and publishing
18+
* tooling_mend_ruby: automates the usage of mend for vulnerability scanning on tools
19+
* workflow-restarter-test: tests the workflow restarter functionality
20+
* workflow-restarter: restarts workflows that have failed or need to be re-run
21+
22+
Note: For more information about workflows like workflow-restarter, check out our [docs](./docs/)
23+
24+
```mermaid
25+
flowchart TD
26+
A[Content and Tooling] --> B & C
27+
B(Modules) --> D & F
28+
B@{ shape: div-rect }
29+
C(Tools) --> G & I
30+
C@{ shape: div-rect }
31+
D@{ shape: procs, label: "Release"} --> N & O
32+
F@{ shape: procs, label: "Testing"} --> J & K & L & M & Z
33+
G@{ shape: procs, label: "Testing"} --> P & Q & R & M & Z
34+
I@{ shape: procs, label: "Release"} --> S & T
35+
J@{ shape: lin-rect, label: "mend_ruby.yml"}
36+
K@{ shape: lin-rect, label: "module_acceptance.yml"}
37+
L@{ shape: lin-rect, label: "module_ci.yml"}
38+
M@{ shape: lin-rect, label: "lint.yml"}
39+
N@{ shape: lin-rect, label: "module_release_prep.yml"}
40+
O@{ shape: lin-rect, label: "module_release.yml"}
41+
P@{ shape: lin-rect, label: "gem_ci.yml"}
42+
Q@{ shape: lin-rect, label: "gem_acceptance.yml"}
43+
R@{ shape: lin-rect, label: "tooling_mend_ruby.yml"}
44+
S@{ shape: lin-rect, label: "gem_release_prep.yml"}
45+
T@{ shape: lin-rect, label: "gem_release.yml"}
46+
Z@{ shape: lin-rect, label: "workflow_restarter.yml"}
47+
```

docs/reviewdog-shellcheck.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
## Attention
2+
3+
Reviewdog/shellcheck is a third-party action that we have implemented in our testing workflows. As such,
4+
if your repository has strict permission control, you might need to add it as a trusted action. Otherwise,
5+
you might run into the following or similar errors:
6+
7+
`reviewdog/action-shellcheck@v1 is not allowed to be used in <your_repo>. Actions in this workflow must be: within a repository that belongs to your Enterprise account, created by GitHub, verified in the GitHub Marketplace, or matching the following: ruby/*, puppetlabs/*, docker://puppet/*, luchihoratiu/*, peter-evans/*.`

0 commit comments

Comments
 (0)