Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Add support for checkout path #167

Closed
1 task done
IvanPizhenko opened this issue Aug 26, 2021 · 3 comments · Fixed by #168
Closed
1 task done

[Feature] Add support for checkout path #167

IvanPizhenko opened this issue Aug 26, 2021 · 3 comments · Fixed by #168
Labels
enhancement New feature or request

Comments

@IvanPizhenko
Copy link
Contributor

IvanPizhenko commented Aug 26, 2021

Is your feature request related to a problem? Please describe.

I am checking out multiple repositories like this:

      - name: Checkout this repo
        uses: actions/checkout@v2
        with:
          path: this
          fetch-depth: 2

      - name: Checkout another repo
        uses: actions/checkout@v2
        with:
          repository: SomeAccount/AnotherRepo
          path: another
          fetch-depth: 2

But this action only works for default checkout path.

Describe the solution you'd like?

Like this:

      - name: Get changed files from this repo
        id: changed-files-this
        uses: tj-actions/changed-files@v1.x.y
        with:
          #  Same path as in the "checkout" action
          path: this

      - name: Get changed files from another repo
        id: changed-files-another
        uses: tj-actions/changed-files@v1.x.y
        with:
          #  Same path as in the "checkout" action
          path: another

Describe alternatives you've considered?

No response

Anything else?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@IvanPizhenko IvanPizhenko added the enhancement New feature or request label Aug 26, 2021
@github-actions
Copy link
Contributor

Thanks for reporting this issue.

@IvanPizhenko
Copy link
Contributor Author

Edited description. Please read last version.

@IvanPizhenko
Copy link
Contributor Author

Submitted PR for this. Please review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant