Skip to content

Commit fb2cf74

Browse files
Potential fix for code scanning alert no. 18: Workflow does not contain permissions
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent 3910a3e commit fb2cf74

3 files changed

Lines changed: 7 additions & 4 deletions

File tree

.github/workflows/markdownlint.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: Markdown Lint
22
description: Lint Markdown files
33

4+
permissions:
5+
contents: read
6+
47
on: [push, pull_request]
58

69
jobs:
@@ -19,4 +22,4 @@ jobs:
1922
if: steps.changed-files.outputs.any_changed == 'true'
2023
with:
2124
globs: ${{ steps.changed-files.outputs.all_changed_files }}
22-
separator: ","
25+
separator: ","

docs/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,13 @@ export HS256_KEY="secret"
7272
## 🔗 Related projects
7373

7474
- Genesis SDK is a set of tools for developing Genesis elements. You can find it [here](https://github.com/infraguys/gcl_sdk).
75-
- Genesis DevTools it's a set oftools to manager life cycle of genesis projects. You can find it [here](https://github.com/infraguys/genesis_devtools).
75+
- Genesis DevTools it's a set of tools to manager life cycle of genesis projects. You can find it [here](https://github.com/infraguys/genesis_devtools).
7676

7777
## 💡 Contributing
7878

7979
Contributing to the project is highly appreciated! However, some rules should be followed for successful inclusion of new changes in the project:
8080

8181
- All changes should be done in a separate branch.
8282
- Changes should include not only new functionality or bug fixes, but also tests for the new code.
83-
- After the changes are completed and **tested**, a Pull Request should be created with a clear description of the new functionality. And add one of the project maintainers as a reviewer.
83+
- After the changes are completed and **tested**, a Pull Request should be created with a clear description of the new functionality. Add one of the project maintainers as a reviewer.
8484
- Changes can be merged only after receiving an approve from one of the project maintainers.

mkdocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,4 +76,4 @@ nav:
7676
- Load Balancer as a Service API: network/load_balancer.md
7777
- Service:
7878
- Service as a Service API: element_manager/service.md
79-
- FAQ: faq.md
79+
- FAQ: faq.md

0 commit comments

Comments
 (0)