Skip to content

Fix GHAs#203

Merged
ialarmedalien merged 6 commits intodevelopfrom
fix_uv_gha
Mar 18, 2025
Merged

Fix GHAs#203
ialarmedalien merged 6 commits intodevelopfrom
fix_uv_gha

Conversation

@ialarmedalien
Copy link
Collaborator

updating GHAs to remove all the code checks (for now) and run docs deploy on PR

Comment on lines +14 to +23
uses: ./.github/workflows/run_tests.yaml

# run_code_ql:
# uses: ./.github/workflows/codeql.yaml

run_codacy:
uses: ./.github/workflows/codacy.yaml
# run_codacy:
# uses: ./.github/workflows/codacy.yaml

run_trivy:
uses: ./.github/workflows/trivy.yaml
# run_trivy:
# uses: ./.github/workflows/trivy.yaml

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {}
Comment on lines +16 to +25
uses: ./.github/workflows/run_tests.yaml

# run_code_ql:
# uses: ./.github/workflows/codeql.yaml

run_codacy:
uses: ./.github/workflows/codacy.yaml
# run_codacy:
# uses: ./.github/workflows/codacy.yaml

run_trivy:
uses: ./.github/workflows/trivy.yaml
# run_trivy:
# uses: ./.github/workflows/trivy.yaml

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {}
Comment on lines +14 to +44
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@main
with:
fetch-depth: 0

- name: Set up Python 3
uses: actions/setup-python@main
with:
python-version: 3.12

- name: Install uv
uses: astral-sh/setup-uv@v5

- name: Install Poetry
run: uv pip install linkml mkdocs-material mkdocs-mermaid2-plugin

- name: Build documentation
run: |
mkdir -p site
touch site/.nojekyll
make gendoc
([ ! -f docs/about.md ] && cp src/docs/*.md docs/) || true
uv run mkdocs build -d site

- name: Deploy preview
uses: rossjrw/pr-preview-action@v1
with:
source-dir: site/
preview-branch: gh-pages

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium test

Actions Job or Workflow does not set permissions
@github-actions
Copy link

github-actions bot commented Mar 18, 2025

PR Preview Action v1.6.0

🚀 View preview at
https://kbase.github.io/credit_engine/pr-preview/pr-203/

Built to branch gh-pages at 2025-03-18 19:12 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

@sonarqubecloud
Copy link

@ialarmedalien ialarmedalien merged commit 51921b6 into develop Mar 18, 2025
13 checks passed
@ialarmedalien ialarmedalien deleted the fix_uv_gha branch March 18, 2025 19:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant