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

[BUG] not able to find only python files #224

Closed
3 tasks done
rocc-jenkins opened this issue Oct 25, 2021 · 3 comments
Closed
3 tasks done

[BUG] not able to find only python files #224

rocc-jenkins opened this issue Oct 25, 2021 · 3 comments

Comments

@rocc-jenkins
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Does this issue exist in the latest version?

  • I'm using the latest release

Describe the bug?

  • name: Get specific changed files
    id: changed-files
    uses: tj-actions/changed-files@v11
    with:
    files: |
    .py

i want only python files to be captured and using above format which doesnt work and giving below error.

fatal: bad object

To Reproduce

  • name: Get specific changed files
    id: changed-files
    uses: tj-actions/changed-files@v11
    with:
    files: |
    .py

i want only python files to be captured and using above format which doesnt work and giving below error.

fatal: bad object

What OS are you seeing the problem on?

ubuntu-18.04

Expected behavior?

only python files should come in the output

Relevant log output

No response

Anything else?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@github-actions
Copy link
Contributor

Thanks for reporting this issue.

@jackton1
Copy link
Member

jackton1 commented Oct 25, 2021

From the example in the README

You'll need to use regex

      - name: Get specific changed files
        uses: tj-actions/changed-files@v11
        id: changed-files
        with:
          files: |
             \.py$

@jackton1 jackton1 transferred this issue from tj-actions/verify-changed-files Oct 25, 2021
@github-actions
Copy link
Contributor

Thanks for reporting this issue.

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

No branches or pull requests

2 participants