Build Sysmon Guide / Build PDF (pull_request) action runtime error

Open Beginner friendly
#52 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
90/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Quiet
Tech stack
github-actions
Domain
ci-cd

Research direction

Open .github/workflows/build-guide.yml and inspect the two upload-artifact steps. Update both references from actions/upload-artifact@v3 to @v4, preserving their artifact names, paths, and retention settings. Done means the workflow no longer uses the deprecated v3 action and can proceed past action preparation.

Written by the indexing model from the issue text.

Description

Summary of the github action failure
  • Error: "This request has been automatically failed because it uses a deprecated version of actions/upload-artifact: v3."
  • File referenced: .github/workflows/build-guide.yml
Root cause
  • The workflow uses actions/upload-artifact@v3 in two places. v3 of the artifact actions has been deprecated and the runner rejects jobs that use it, causing the job to fail during action preparation.
Fix
  • Update the workflow to use the supported v4 of the upload-artifact action. Replace both uses of actions/upload-artifact@v3 with actions/upload-artifact@v4.
Exact changes to make (apply to .github/workflows/build-guide.yml)

Replace this block (first occurrence)

  • name: Upload master document artifact
    uses: actions/upload-artifact@v3
    with:
    name: master-document
    path: Build/Sysmon.md
    retention-days: 30

with

  • name: Upload master document artifact
    uses: actions/upload-artifact@v4
    with:
    name: master-document
    path: Build/Sysmon.md
    retention-days: 30

And replace this block (second occurrence)

  • name: Upload PDF artifact
    uses: actions/upload-artifact@v3
    with:
    name: sysmon-guide-pdf
    path: Build/SysmonGuide.pdf
    retention-days: 90

with

  • name: Upload PDF artifact
    uses: actions/upload-artifact@v4
    with:
    name: sysmon-guide-pdf
    path: Build/SysmonGuide.pdf
    retention-days: 90
Dominant language
Python
Stars
1.4k
Forks
186
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from trustedsec/SysmonCommunityGuide

All issues in trustedsec/SysmonCommunityGuide

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.