Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
511746a
test: revert appstudio.redhat.com_releases.yaml to ab9d374 for workfl…
csoceanu Jul 9, 2025
57c55cf
fix: use ubuntu-22.04 for workflow runner to ensure python 3.10 avail…
csoceanu Jul 9, 2025
f2101b8
fix: use ubuntu latest for workflow runner to ensure python 3.10 avai…
csoceanu Jul 9, 2025
5af2ad5
fix: use ubuntu latest for workflow runner to ensure python 3.10 avai…
csoceanu Jul 9, 2025
e8322c1
remove all workflow except the suggest_docs.yml
csoceanu Jul 10, 2025
9b616a7
updates
csoceanu Jul 10, 2025
ff0535c
updates
csoceanu Jul 10, 2025
c00464f
updates
csoceanu Jul 10, 2025
5c651b4
updates
csoceanu Jul 10, 2025
1ed3db7
updates
csoceanu Jul 10, 2025
a22d5ac
updates
csoceanu Jul 10, 2025
0ddd843
updates
csoceanu Jul 10, 2025
0161f7d
updates
csoceanu Jul 10, 2025
503c4d9
updates
csoceanu Jul 10, 2025
8334f38
updates
csoceanu Jul 10, 2025
486be2f
updates, assisted by Cursor
csoceanu Jul 10, 2025
d0b4a0c
updates, assisted by Cursor
csoceanu Jul 10, 2025
86e6aa0
updates, assisted by Cursor
csoceanu Jul 10, 2025
f0d2a5e
updates, assisted by Cursor
csoceanu Jul 10, 2025
11cf6a9
test: revert appstudio.redhat.com_releases.yaml to 9d2ba52 for pipeli…
csoceanu Jul 16, 2025
ab99882
test the piepline
csoceanu Jul 17, 2025
2056b38
test the piepline
csoceanu Jul 17, 2025
5555944
updates
csoceanu Jul 17, 2025
57e48a1
updates
csoceanu Jul 17, 2025
fb41b7b
updates
csoceanu Jul 17, 2025
ee5bfa0
updates
csoceanu Jul 17, 2025
dc715d5
updates
csoceanu Jul 17, 2025
7610d2c
updates
csoceanu Jul 21, 2025
f290335
updates
csoceanu Jul 21, 2025
71ae213
updates
csoceanu Jul 21, 2025
4da4c37
updates
csoceanu Jul 23, 2025
d8e13cb
updates
csoceanu Jul 29, 2025
6fad4eb
updates
csoceanu Jul 29, 2025
e75cb2a
updates
csoceanu Aug 5, 2025
3090524
updates
csoceanu Aug 5, 2025
e6d5f18
updates
csoceanu Aug 5, 2025
ab504b5
updates
csoceanu Aug 7, 2025
129bd7c
update
csoceanu Aug 11, 2025
c9353d1
update
csoceanu Aug 11, 2025
79c9f0a
Add [update-docs] filtering to documentation workflow
csoceanu Aug 18, 2025
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
21 changes: 0 additions & 21 deletions .github/workflows/codecov.yml

This file was deleted.

49 changes: 0 additions & 49 deletions .github/workflows/gosec.yaml

This file was deleted.

128 changes: 0 additions & 128 deletions .github/workflows/pr.yml

This file was deleted.

30 changes: 19 additions & 11 deletions .github/workflows/suggest_docs.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,38 @@
name: Suggest Documentation Update
name: Suggest Documentation Update (Enhanced)

on:
pull_request:
types: [opened, synchronize]
workflow_dispatch:
inputs:
force_run:
description: 'Force run even if filters would normally skip'
required: false
type: boolean
default: false

jobs:
suggest-docs:
runs-on: ubuntu-latest
if: |
github.event.inputs.force_run == 'true' ||
contains(github.event.pull_request.title, '[update-docs]') ||
contains(github.event.pull_request.body, '[update-docs]')

steps:
- name: Checkout PR Code
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.10
python-version: '3.10'

- name: Install Python Dependencies
run: |
pip install google-generativeai
pip install -U google-genai

- name: Configure Git
run: |
Expand All @@ -28,18 +41,13 @@ jobs:

- name: Set up GitHub CLI
run: |
sudo apt-get install gh

- name: Authenticate GitHub CLI
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
echo "${GH_TOKEN}" | gh auth login --with-token
sudo apt-get update
sudo apt-get install -y gh

- name: Run Documentation Suggester
env:
GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }}
DOCS_REPO_URL: ${{ secrets.DOCS_REPO_URL }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_TOKEN: ${{ secrets.GH_PAT }}
run: |
python scripts/suggest_docs.py
Loading