Skip to content

bug : fix tj-actions/verify-changed-files (CVE-2023-52137 )#313

Closed
sanjay7178 wants to merge 1 commit intogreenelab:mainfrom
sanjay7178:tj-actions-cve-fix
Closed

bug : fix tj-actions/verify-changed-files (CVE-2023-52137 )#313
sanjay7178 wants to merge 1 commit intogreenelab:mainfrom
sanjay7178:tj-actions-cve-fix

Conversation

@sanjay7178
Copy link
Copy Markdown

@sanjay7178 sanjay7178 commented Mar 15, 2025

fix #312

To the maintainers according to the issue mentioned , I have changed the deprecated actions to new one for the fix

if: github.event.action != 'closed'
id: changed
uses: tj-actions/verify-changed-files@v18
uses: dorny/paths-filter@v2
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Because this action works differently than tj-actions, I think we'll need some other changes as well.

In the steps that follow these paths-filter steps, instead of checking e.g. steps.changed.outputs.files_changed, we'll have to check either steps.changed.outputs.citations == 'true' (if I'm understanding the docs correctly). Or perhaps more ideally: check if the changes array length is > 0, so we can just use the same checking code in all places, and not be tied to the specific filters key used.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Ideally i tried this workflow works for my lab , btw i try to look again

@vincerubinetti
Copy link
Copy Markdown
Collaborator

Aside from my comment above, I'll also have to test this thoroughly to make sure it works, and make a proper version bump out of it (changelog, etc).

@sanjay7178
Copy link
Copy Markdown
Author

Aside from my comment above, I'll also have to test this thoroughly to make sure it works, and make a proper version bump out of it (changelog, etc).

sure

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.

🚨 tj-actions/verify-changed-files COMPROMISED

2 participants