Skip to content

Conversation

@michieldegezelle
Copy link
Collaborator

Description

Include a summary of the changes made

If test firm id is present in the config of a template, that will be the preferred option.
If this is not the case, we can fall back to the repo variable (1 variable that can be set for the entire repo).
If this is not set either, we fall back to the default behaviour.

Fixes # (link to the corresponding issue)

Type of change

  • Bug fix
  • New feature
  • Breaking change

Checklist

  • README updated (if needed)
  • Version updated (if needed)
  • Documentation updated (if needed)

@michieldegezelle michieldegezelle self-assigned this Aug 26, 2025
Copy link
Contributor

@AgustinSilverfin AgustinSilverfin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you also look into the outdate versions?

we should use node 20 instead of 18

and other actions v4 instead of v3.

# 1. Template-specific test_firm_id (highest priority)
AVAILABLE_FIRM_IDS=$(cat ${CURRENT_DIR}/config.json | jq -r ".id | keys[]" 2>/dev/null || echo "")
if [[ "$AVAILABLE_FIRM_IDS" == *"$TEST_FIRM_ID"* ]]; then
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This may return false positives. If there is available id 1020 and test firm id is 102 it may return it?
Can you double check this? We may need to loop through available in that case and check if it's exactly the same

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct, I implemented a loop to go over the id's and doing exact matching.

@michieldegezelle
Copy link
Collaborator Author

@AgustinSilverfin Can you please do another review? Implemented the new versions and introduced a loop for id-matching.

@michieldegezelle michieldegezelle merged commit 2bdda9e into main Sep 23, 2025
9 of 10 checks passed
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

Successfully merging this pull request may close these issues.

3 participants