redhat-cop / redhat-cop/openshift-virtualization-migration-documentation
fix: remove debug 'find where the files are' step from publish CI workflow
Open
Beginner friendly
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 2
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
Problem
.github/workflows/publish-github-pages.yml contains a debug step that was left in production:
- name: find where the files are
run: |
pwd
ls -alR .
This step:
- Produces noisy output in public CI logs
- Unnecessarily exposes the full directory tree of the runner
- Has no functional purpose — the artifact path
build/site/is already specified in the following upload step
Proposed Solution
Remove the debug step entirely from the workflow.
Files to Change
.github/workflows/publish-github-pages.yml
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Open .github/workflows/publish-github-pages.yml and locate the find where the files are step containing pwd and ls -alR .. Remove that step while leaving the following upload step and its build/site/ artifact path unchanged; inspect the workflow to confirm the YAML remains valid and no debug directory listing is emitted.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github-actions
- Domain
- ci-cd
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 92/100