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

fix: resolve disabled action flag before duplicate action names validation #6293

Merged
merged 4 commits into from
Jul 17, 2024

Conversation

vvagaytsev
Copy link
Collaborator

@vvagaytsev vvagaytsev commented Jul 16, 2024

What this PR does / why we need it:

This PR patches the feature implemented in #4805 and #5686.

Which issue(s) this PR fixes:

Without this fix, the disabled flag on actions is not resolved properly if it's defined as a template string.

Special notes for your reviewer:

@vvagaytsev vvagaytsev force-pushed the fix/resolve-disabled-action-field branch from adc9f6b to 7a174e6 Compare July 16, 2024 12:44
@vvagaytsev vvagaytsev changed the title fix: validate duplicate action names after template strings resolution fix: resolve disabled action flag before duplicate action names validation Jul 16, 2024
@vvagaytsev vvagaytsev force-pushed the fix/resolve-disabled-action-field branch from 7a174e6 to 0705cad Compare July 16, 2024 16:48
@vvagaytsev vvagaytsev force-pushed the fix/resolve-disabled-action-field branch from 9b962f6 to ddb96f6 Compare July 17, 2024 06:43
@vvagaytsev vvagaytsev requested a review from stefreak July 17, 2024 07:55
@vvagaytsev vvagaytsev marked this pull request as ready for review July 17, 2024 07:55
@vvagaytsev vvagaytsev force-pushed the fix/resolve-disabled-action-field branch from 1d38d1d to 383c361 Compare July 17, 2024 08:13
@vvagaytsev vvagaytsev force-pushed the fix/resolve-disabled-action-field branch from 383c361 to 8582afc Compare July 17, 2024 08:16
Copy link
Member

@stefreak stefreak left a comment

Choose a reason for hiding this comment

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

Nice work!

There are some problems with this, e.g. the mode has the wrong value.

Nonetheless, this is definitely an improvement so I'm ok to merge this and we can improve the other things later.

@vvagaytsev vvagaytsev added this pull request to the merge queue Jul 17, 2024
Merged via the queue into main with commit fa3da74 Jul 17, 2024
40 checks passed
@vvagaytsev vvagaytsev deleted the fix/resolve-disabled-action-field branch July 17, 2024 08:58
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.

2 participants