Skip to content
Merged
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
66 changes: 20 additions & 46 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,55 +13,29 @@ on:

jobs:
doc8:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5

- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: 3.11

- run: make doc8
uses: omec-project/.github/.github/workflows/make-target-reuse.yml@main
with:
branch_name: ${{ github.ref }}
target: doc8

spell-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5

- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: 3.11

- run: make spelling
uses: omec-project/.github/.github/workflows/make-target-reuse.yml@main
with:
branch_name: ${{ github.ref }}
target: spelling

link-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5

- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: 3.11

- run: make linkcheck
uses: omec-project/.github/.github/workflows/make-target-reuse.yml@main
with:
branch_name: ${{ github.ref }}
target: linkcheck

license-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5

- name: reuse lint
uses: fsfe/reuse-action@v6

fossa-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5

- name: FOSSA scan
uses: fossa-contrib/fossa-action@v3
with:
fossa-api-key: 0c3bbcdf20e157bbd487dae173751b28
uses: omec-project/.github/.github/workflows/license-check.yml@main
with:
branch_name: ${{ github.ref }}

fossa-scan:
uses: omec-project/.github/.github/workflows/fossa-scan.yml@main
with:
branch_name: ${{ github.ref }}
150 changes: 0 additions & 150 deletions .github/workflows/publish.yml

This file was deleted.

35 changes: 35 additions & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# SPDX-License-Identifier: Apache-2.0
# Copyright 2024 Intel Corporation

name: Publish Docs Workflow

on:
push:
branches:
- main
workflow_dispatch:

jobs:
validate:
uses: omec-project/.github/.github/workflows/validate.yml@main
with:
branch_name: ${{ github.ref }}

tag-github:
uses: omec-project/.github/.github/workflows/tag-github.yml@main
secrets: inherit

update-version:
needs: tag-github
uses: omec-project/.github/.github/workflows/update-version.yml@main
with:
changed: ${{ needs.tag-github.outputs.changed }}
version: ${{ needs.tag-github.outputs.version }}
secrets: inherit

publish:
if: github.repository_owner == 'omec-project'
uses: omec-project/.github/.github/workflows/publish-docs.yml@main
secrets: inherit
with:
branch_name: ${{ github.ref }}
Loading