Skip to content

Commit f121e19

Browse files
ktoliverChukslord1
andauthored
Apply suggestions from code review
Commit changes from @Chukslord1 Co-authored-by: Chukslord <[email protected]>
1 parent d5c974b commit f121e19

File tree

2 files changed

+0
-13
lines changed

2 files changed

+0
-13
lines changed

learn-pr/github/github-actions-ci/includes/2-github-actions-workflows-ci.md

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,6 @@ To learn more about npm, check out the npm documentation:
7777

7878
A team of developers can benefit from using reusable workflows to streamline and standardize repeated automation steps. By using reusable workflows, you can reduce redundancy, improve maintainability, and ensure consistency across your continuous integration/continuous deployment (CI/CD) pipelines.
7979

80-
<!-- InfoMagnus Starts -->
81-
<!-- INFOMAGNUS UPDATES for sub OD 1.5.9. Source Material: https://docs.github.com/en/actions/sharing-automations/reusing-workflows -->
8280

8381
## Avoid duplication by using reusable workflows
8482

@@ -137,8 +135,6 @@ By understanding how reusable workflows function and their benefits, you can ado
137135

138136
Reusable workflows are a powerful way to enforce consistency, reduce duplication, and scale DevOps practices in any engineering team. Whether you're managing a single repository, microservices, or open-source libraries, reusable workflows can simplify automation, so your CI/CD is faster, cleaner, and easier for you to manage.
139137

140-
<!-- INFOMAGNUS UPDATES for sub OD 2.1.1, 2.1.2, 2.1.3, and 2.1.4 go here. Source Material: Infomagnus team to find source material and cite it.
141-
https://docs.github.com/en/actions/writing-workflows/about-workflows , https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/accessing-contextual-information-about-workflow-runs , https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/triggering-a-workflow , https://docs.github.com/en/actions/monitoring-and-troubleshooting-workflows/monitoring-workflows/viewing-workflow-run-history , https://docs.github.com/en/actions/monitoring-and-troubleshooting-workflows/troubleshooting-workflows/about-troubleshooting-workflows -->
142138

143139
## Identify the event that triggered a workflow
144140

@@ -406,12 +402,7 @@ test:
406402
CI: true
407403
```
408404

409-
<!-- INFOMAGNUS UPDATES for sub OD 2.2.1 go here. Source Material: Infomagnus team to find source material and cite sources when they update material
410-
https://docs.github.com/en/actions/writing-workflows/about-workflows -->
411405

412-
<!-- ## Locate a workflow in a repository -->
413-
414-
<!-- InfoMagnus END -->
415406

416407
## Work with artifacts
417408

learn-pr/github/github-actions-ci/includes/2b-github-actions-essential-features.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ jobs:
2626

2727
This example is using the `github.ref` context to check the branch that triggered the workflow. If the branch is `main`, the runner is executed and prints "Deploying to production server on branch $GITHUB_REF." The default environment variable `$GITHUB_REF` is used in the runner to refer to the branch. Notice that default environment variables are all uppercase where context variables are all lowercase.
2828

29-
<!-- INFOMAGNUS UPDATES for sub OD 1.4.2 go here. Source Material: https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/accessing-contextual-information-about-workflow-runs -->
3029

3130
## Contextual information available in a workflow
3231

@@ -90,7 +89,6 @@ The following table lists restrictions for each context and special function in
9089
|`on.workflow_call.inputs.<inputs_id>.default` | `github`, `inputs`, `vars` | None |
9190
|`on.workflow_call.outputs.<output_id>.value` | `github`, jobs, `vars`, `inputs` | None |
9291

93-
<!-- INFOMAGNUS 1.4.2 END
9492

9593
## Custom environment variables
9694

@@ -109,7 +107,6 @@ jobs:
109107
First_Name: Mona
110108
```
111109

112-
<!-- INFOMAGNUS UPDATES for sub OD 1.4.3, 1.4.6, and 1.4.7 go here. Source Material: Infomagnus team to find source material and cite sources when they update material , https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/store-information-in-variables , https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions#setting-an-environment-variable -->
113110
## Set custom environment variables in a workflow
114111

115112
You can define environment variables that are scoped to the entire workflow by using `env` at the top level of the workflow file. Scope the contents of a job within a workflow by using `jobs.<job_id>.env`. You can scope an environment variable at a specific step within a job by using `jobs.<job_id>.steps[*].env`.
@@ -350,7 +347,6 @@ For example, a `GET` request to view a specific workflow run log follows this pa
350347
GET /repos/{owner}/{repo}/actions/runs/{run_id}/logs
351348
```
352349

353-
<!-- INFOMAGNUS UPDATES for sub OD 1.4.4 go here. Source Material: Infomagnus team to find source material and cite sources when they update material https://docs.github.com/en/apps/creating-github-apps/authenticating-with-a-github-app/generating-an-installation-access-token-for-a-github-app , https://docs.github.com/en/apps/creating-github-apps/authenticating-with-a-github-app/authenticating-as-a-github-app-installation -->
354350

355351
## Identify when to use an installation token from a GitHub app
356352

0 commit comments

Comments
 (0)