WIP: Github Actions: Fix "Get changed files" in Shellcheck workflow #1422
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
✍️ Description
The Shellcheck GitHub Action workflow is not running. It throws an error in the "Get changed files" step:
See https://github.com/community-scripts/ProxmoxVE/actions/runs/12724031265/job/35469760341
This Pull Request is using the same "Get changes files" logic from another workflow:
ProxmoxVE/.github/workflows/validate-filenames.yml
Lines 36 to 43 in cc40b59
Work in Progress!
This Pull Request is work in progress as the testing can only be done via Github actions.
I will comment, once this is ready.
🛠️ Type of Change
✅ Prerequisites
📋 Additional Information (optional)
An alternative would be to use https://github.com/marketplace/actions/changed-files instead of custom crafted shell scripts.