Skip to content

Commit cbfac44

Browse files
authored
Merge pull request #8531 from wazuh/change/121-gh-workflow-permissions-3.12
[3.12] Workflow permissions and menu updated
2 parents 14b1bf0 + fb26a12 commit cbfac44

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

.github/workflows/compile.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,16 @@
22

33
name: CI
44

5+
permissions:
6+
contents: read
7+
58
# Controls when the action will run. Triggers the workflow on push or pull request
69
# events but only for the master branch
710
on:
811
push:
9-
branches: [ 3.11 ]
12+
branches: [ 3.12 ]
1013
pull_request:
11-
branches: [ 3.11 ]
14+
branches: [ 3.12 ]
1215

1316
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1417
jobs:
@@ -18,12 +21,12 @@ jobs:
1821
runs-on: ubuntu-latest
1922
strategy:
2023
matrix:
21-
python-version: [3.9, 3.10, 3.11]
24+
python-version: [3.9, 3.11]
2225

2326
steps:
2427
- uses: actions/checkout@v2
2528
- name: Set up Python ${{ matrix.python-version }}
26-
uses: actions/setup-python@v1
29+
uses: actions/setup-python@v5
2730
with:
2831
python-version: ${{ matrix.python-version }}
2932

@@ -38,4 +41,3 @@ jobs:
3841
- name: Run a multi-line script
3942
run: |
4043
make html
41-

source/_themes/wazuh_doc_theme_v3/template-parts/header.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@
146146
<a class="dropdown-item" href="{{ theme_wazuh_web_url + '/our-team/' }}" target="_blank" rel="noreferrer noopener">Our team</a>
147147
</li>
148148
<li class="nav-item">
149-
<a class="dropdown-item" href="{{ theme_wazuh_web_url + '/newsroom/' }}" target="_blank" rel="noreferrer noopener">Newsroom</a>
149+
<a class="dropdown-item" href="{{ theme_wazuh_web_url + '/resources/' }}" target="_blank" rel="noreferrer noopener">Resources</a>
150150
</li>
151151
</ul>
152152
</li>

source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -676,7 +676,7 @@ def creating_file_list(app, exception):
676676
production = False
677677

678678
html_context = {
679-
"display_github": True,
679+
"display_github": False,
680680
"github_user": "wazuh",
681681
"github_repo": "wazuh-documentation",
682682
"conf_py_path": "/source/",

0 commit comments

Comments
 (0)