> ## Documentation Index
> Fetch the complete documentation index at: https://semgrep-ee9d73d8-chore-update-openapi-specs.mintlify.site/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-chore-update-openapi-specs/cjdh6CD98eNEVM_C/images/kb/semgrep-ci/collect-gha-logs/image-1.png?fit=max&auto=format&n=cjdh6CD98eNEVM_C&q=85&s=8cd3636bb94479efc55d3635f8a18b51" 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-chore-update-openapi-specs/cjdh6CD98eNEVM_C/images/kb/semgrep-ci/collect-gha-logs/image-2.png?fit=max&auto=format&n=cjdh6CD98eNEVM_C&q=85&s=3dfbbee8303d453427b9294ee6c550d5" 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>
