> ## Documentation Index
> Fetch the complete documentation index at: https://docs.semgrep.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Collecting Semgrep GitHub Actions logs from GitHub

To retrieve a log, perform the following steps:

<Steps>
  <Step>
    Navigate to the main page of the GitHub repository you are troubleshooting or scanning.
  </Step>

  <Step>
    Click the **Actions** tab.

    <Frame>
      <img src="https://mintcdn.com/semgrep-ee9d73d8/yMsI1pCt6oL_Pkb9/images/kb/semgrep-ci/collect-gha-logs/image-1.png?fit=max&auto=format&n=yMsI1pCt6oL_Pkb9&q=85&s=b5c5d93c762bb76b426a36d1682d00dc" alt="actions-tab" width="1780" height="182" data-path="images/kb/semgrep-ci/collect-gha-logs/image-1.png" />
    </Frame>
  </Step>

  <Step>
    In the Actions page, click the Semgrep workflow run that you want to retrieve logs for. The name depends on your configuration. By default, it is named **Semgrep**.

    <Tip>
      **TIP**

      Your repository may have different workflow runs, such as linters. To quickly browse through workflow runs, you can also click the name of your workflow, typically **Semgrep** under **Actions** in the navigation bar to view only Semgrep runs.
    </Tip>
  </Step>

  <Step>
    Click the job name, typically **semgrep/ci**.
  </Step>

  <Step>
    You are taken to the specific job page. Click the gear icon **> Download log archive**.

    <Frame>
      <img src="https://mintcdn.com/semgrep-ee9d73d8/yMsI1pCt6oL_Pkb9/images/kb/semgrep-ci/collect-gha-logs/image-2.png?fit=max&auto=format&n=yMsI1pCt6oL_Pkb9&q=85&s=dcbeceb7d9f0f28f3329693c8cad41d2" alt="Retrieve a GitHub Actions log." width="2058" height="776" data-path="images/kb/semgrep-ci/collect-gha-logs/image-2.png" />
    </Frame>
  </Step>
</Steps>

You have successfully downloaded a GitHub Actions log. You can send this as part of your ticket to [Support](/support).

## Additional references

<Columns cols={2}>
  <Card title="Using workflow run logs - Downloading logs" href="https://docs.github.com/en/actions/monitoring-and-troubleshooting-workflows/using-workflow-run-logs#downloading-logs" icon="file" horizontal />
</Columns>
