# Github integration: Dynamic filter in YAML config

**URL:** <https://community.transifex.com/t/github-integration-dynamic-filter-in-yaml-config/4054>\
**Category:** Developers\
**Tags:** integrations, github\
**Created:** [July 18, 2024, 4:57pm UTC](https://community.transifex.com/t/github-integration-dynamic-filter-in-yaml-config/4054 "2024-07-18T16:57:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![teonik](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.transifex.com/teonik/32/3118_2.png) [@teonik](https://community.transifex.com/u/teonik)\
**Post date:** [July 18, 2024, 4:57pm UTC](https://community.transifex.com/t/github-integration-dynamic-filter-in-yaml-config/4054/1 "2024-07-18T16:57:04Z")

</div>

My Github repo uses the following naming convention for it’s language files:

Source files are located in /language/en-GB:

- /language/en-GB/en-GB.file1.ini
- /language/en-GB/en-GB.file2.ini
- etc…

Translated files follow a similar pattern:

- /language/fr-FR/fr-FR.file1.ini
- /language/fr-FR/fr-FR.file2.ini
- etc…

Notice that the language code is included in both the directory structure and the files themselves.

My question is, can this structure be supported by the Github integration?

I tried the following YAML configuration which recognized my source files but did not perform any PRs after more translated strings were added to the project.

```auto
git:
  filters:
    - filter_type: dynamic
      file_format: INI
      source_language: en-GB
      source_files_expression: <dir>/en-GB/en-GB.<file>.ini
      translation_files_expression: '<dir>/<lang>/<lang>.<file>.ini'

```

---

<div class="post-metadata">

**Author:** ![chrisb](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.transifex.com/chrisb/32/2377_2.png) [@chrisb](https://community.transifex.com/u/chrisb)\
**Post date:** [July 19, 2024, 10:22am UTC](https://community.transifex.com/t/github-integration-dynamic-filter-in-yaml-config/4054/2 "2024-07-19T10:22:25Z")

</div>

Hello,

The yaml configuration you have seems ok.  
I made a test and I did get a PR from system with no issue to the use of double tag.  
 ![image](https://canada1.discourse-cdn.com/flex030/uploads/transifex/original/2X/6/650cae2f42e0166f6a731472976eb82dc4a29c81.png)

I think it might be something else.

Please send us an email to [support@transifex.com](mailto:support@transifex.com) mentioning project links and your git yaml file. This will need some more digging.

Kind regards

---

<div class="post-metadata">

**Author:** ![teonik](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.transifex.com/teonik/32/3118_2.png) [@teonik](https://community.transifex.com/u/teonik)\
**Post date:** [July 25, 2024, 8:39am UTC](https://community.transifex.com/t/github-integration-dynamic-filter-in-yaml-config/4054/3 "2024-07-25T08:39:53Z")

</div>

Thanks for taking the time to look into this!

I will test the configuration again and let you know if I come across any issues.
