Skip to content

[4.0] Workflow permissions and menu updated #8529

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: 4.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions .github/workflows/compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,16 @@

name: CI

permissions:
contents: read

# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
push:
branches: [ 3.11 ]
branches: [ 4.0 ]
pull_request:
branches: [ 3.11 ]
branches: [ 4.0 ]

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

steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

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

Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@
<a class="dropdown-item" href="{{ theme_wazuh_web_url + '/our-team/' }}" target="_blank" rel="noreferrer noopener">Our team</a>
</li>
<li class="nav-item">
<a class="dropdown-item" href="{{ theme_wazuh_web_url + '/newsroom/' }}" target="_blank" rel="noreferrer noopener">Newsroom</a>
<a class="dropdown-item" href="{{ theme_wazuh_web_url + '/resources/' }}" target="_blank" rel="noreferrer noopener">Resources</a>
</li>
</ul>
</li>
Expand Down
2 changes: 1 addition & 1 deletion source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -676,7 +676,7 @@ def creating_file_list(app, exception):
production = False

html_context = {
"display_github": True,
"display_github": False,
"github_user": "wazuh",
"github_repo": "wazuh-documentation",
"conf_py_path": "/source/",
Expand Down