Skip to content

Support github action changes? #37

@wei18

Description

@wei18

Set fetch-depth: 1 when using https://github.com/actions/checkout to checkout a branch.

It's difficult to get changes from the local Git history.

It would be helpful to have a flag --github-action to fetch changes from the remote, like in the example below:

const { data: changedFiles } = await github.rest.pulls.listFiles({
  owner: context.repo.owner,
  repo: context.repo.repo,
  pull_number: context.issue.number
});

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