Skip to content

Commit 9323355

Browse files
authored
Merge pull request #8554 from wazuh/change/121-gh-workflow-permissions-menu-main
[main] Workflow permissions and menu updated
2 parents 088ceaa + 0dac9d5 commit 9323355

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

.github/workflows/compile.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ name: CI
66
# events but only for the master branch
77
on:
88
push:
9-
branches: [ 3.11 ]
9+
branches: [ main ]
1010
pull_request:
11-
branches: [ 3.11 ]
11+
branches: [ main ]
1212

1313
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1414
jobs:
@@ -18,12 +18,12 @@ jobs:
1818
runs-on: ubuntu-latest
1919
strategy:
2020
matrix:
21-
python-version: [3.9, 3.10, 3.11]
21+
python-version: [3.9, 3.11]
2222

2323
steps:
2424
- uses: actions/checkout@v2
2525
- name: Set up Python ${{ matrix.python-version }}
26-
uses: actions/setup-python@v1
26+
uses: actions/setup-python@v5
2727
with:
2828
python-version: ${{ matrix.python-version }}
2929

@@ -38,4 +38,3 @@ jobs:
3838
- name: Run a multi-line script
3939
run: |
4040
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)