Skip to content

scribd/checkout-file-action

Repository files navigation

Checkout File Action

This action checks out individual files from a repo.

Inputs

file-path

Required The file(s) to checkout.

github-token

The GitHub token to use. Only necessary if retrieving files from a different private repository.

repo

The GitHub repository to retrieve the file from. Defaults to the current repository.

branch

The branch to pull the file from. Defaults to the current branch if checking out a file from the current repository, otherwise defaults to the main branch of the repository being checked out.

Example usage

uses: scribd/checkout-file-action@v3
with:
  file-path: |
    action.yml
    tests/hello-world.txt

More examples here.

About

Checkout individual files from a repo

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •