request-action icon indicating copy to clipboard operation
request-action copied to clipboard

[BUG]: Does this action support check API

Open mostlycloudysky opened this issue 5 months ago • 1 comments

What happened?

I have gone through the readme example and it looks like, check API does not work directly with the special GitHub Action Secret and it needs to be done through Github APP integration. Could you please clarify ?

jobs:
  create-file:
    runs-on: ubuntu-latest
    steps:
      # Create check run
      - uses: octokit/[email protected]
        id: create_check_run
        with:
          route: POST /repos/{owner}/{repo}/check-runs
          owner: octokit
          repo: request-action
          name: "Test check run"
          head_sha: ${{ github.sha }}
          output: | # The | is significant!
            title: Test check run title
            summary: A summary of the test check run
            images:
              - alt: Test image
                image_url: https://octodex.github.com/images/jetpacktocat.png
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Versions

[email protected]

Relevant log output

No response

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

mostlycloudysky avatar Jan 20 '24 00:01 mostlycloudysky