You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This contains common github workflows that are used by other EPS projects
5
+
6
+
## General
7
+
These rules should be followed for all workflows
8
+
9
+
*NEVER* use a version number in 3rd party actions or workflows - always use the git commit sha instead
10
+
*NEVER* use secrets: inherit in a workflow - always define what secrets are being passed through to another workflow
11
+
*NEVER* use an input to a workflow directly in a code execution block. Always define an environment variable and use that in the code execution block
12
+
13
+
All use of 3rd party actions or workflows outside of NHSDigital github org should be carefully evaluated before deciding to use them. Notice should be taken of
14
+
- How often is the action or workflow updated. Avoid any workflows that have not been updated in over a year
15
+
- Can the action or workflow be easily written locally with a few simple shell or github actions commands
16
+
17
+
All workflows that are designed to be called from another repo should have a `workflow_call` trigger.
18
+
Workflows designed to be called from other repos should be documented in the README.md file
0 commit comments