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

Exclude is not workin in the v1.21.1 #346

Open
juergenbosch opened this issue Aug 29, 2024 · 0 comments
Open

Exclude is not workin in the v1.21.1 #346

juergenbosch opened this issue Aug 29, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@juergenbosch
Copy link

🐞 Describe the bug

I think the latest v1 release version is used if i defined:
uses: BetaHuhn/repo-file-sync-action@v1

In the sync.yaml i have defined this:

SAP-ProductCompliance/API_Testing_TEMPLATE_REPO:
  - source: karate/
    template:
      config:
        name: '<REPLACE_WITH_REPO_NAME>'
        description: '<REPLACE_WITH_REPO_DESCRIPTION>'
        apiBaseUrl: '<REPLACE_WITH_API_BASE_URL>'
        jenkinsViewName: '<REPLACE_WITH_JENKINS_VIEW_NAME>'
        apiHubNameCE: '<REPLACE_WITH_CE_API_HUB_NAME>'
        apiHubNameOP: '<REPLACE_WITH_OP_API_HUB_NAME>'
    dest: ./
    exclude: |
      Jenkinsfile
  - source: karate/Jenkinsfile
    dest: _Jenkinsfile

And the source files structure is:
image

The current outcome of the pull request in the target app looks like this:
image

📚 To reproduce

💡 Expected behavior

The "Jenkinsfile" should be in the target pull request as "_Jenkinsfile".

🖼️ Screenshots

No response

⚙️ Environment

v1.21.1

📋 Additional context

No response

@juergenbosch juergenbosch added the bug Something isn't working label Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant