Skip to content
This repository was archived by the owner on Nov 18, 2024. It is now read-only.
This repository was archived by the owner on Nov 18, 2024. It is now read-only.

A better approach for PRs from forks (workflow commands via stdout) #59

Open
@jnm2

Description

@jnm2

If you write workflow commands to stdout instead of making web API calls which depend on the token, the authentication issue mentioned at https://github.com/bradennapier/eslint-plus-action#handle-forked-prs goes away and the performance may even be better.

Example from docs page (https://docs.github.com/en/actions/reference/workflow-commands-for-github-actions#setting-a-warning-message):

echo "::warning file=app.js,line=1,col=5::Missing semicolon"

Both warning and error inline annotations can be created this way. A GitHub action using this approach: https://github.com/cschleiden/jest-github-actions-reporter

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions