File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,22 +15,11 @@ References:
1515```
1616docker run -d -p 8080:8080 devopsshield/devopsshield
1717```
18- 2 . Edit the file and copy the following YAML content at the end of the file:
19- ``` YAML
20- apply-label :
21- runs-on : ubuntu-latest
22- steps :
23- - uses : actions/github-script@v7
24- with :
25- script : |
26- github.rest.issues.addLabels({
27- issue_number: context.issue.number,
28- owner: context.repo.owner,
29- repo: context.repo.repo,
30- labels: ['Training']
31- })
32- ` ` `
33- 3. Commit the changes into the ` main` branch
18+ ![ image] ( https://github.com/devopsshield/devsecops-workshop/assets/112144174/7ca6e4bf-da09-42b2-b4db-b492cdd01f25 )
19+ 2 . Log into http://localhost:8080 with username ** devopsshield** and password ** devopsshield**
20+ ![ image] ( https://github.com/devopsshield/devsecops-workshop/assets/112144174/24c1b52e-4a12-4c9a-89c0-155bc5f00358 )
21+ ![ image] ( https://github.com/devopsshield/devsecops-workshop/assets/112144174/46389907-1f3e-49b8-b6e5-0b81a9886001 )
22+ 3 . Once logged in,
34234 . Open a new issue or edit an exiting one to trigger the workflow. If the ` Issues ` tab is not visible, open your repository settings and enable it.
35245 . Go to ` Actions ` and see the details of your running workflow
36256 . After the workflow completes, a new label should be applied to your issue
@@ -281,4 +270,4 @@ jobs:
281270 issueTitle: "A cat fact for you from ${{ github.repository_owner }}"
282271
283272` ` `
284- </details>
273+ </details>
You can’t perform that action at this time.
0 commit comments