We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c179d7b commit 95d1285Copy full SHA for 95d1285
.github/actions/check_new_changelog/action.yml
@@ -18,7 +18,11 @@ runs:
18
NEW_CHANGELOGS: ${{ steps.new-changelogs.outputs.added_files }}
19
PR_NUMBER: ${{ github.event.number }}
20
run: |
21
+ # `cl` will be something like "changelog/1.added.md"
22
for cl in ${NEW_CHANGELOGS}; do
23
+ # Trim the directory name
24
+ prefix="changelog/"; trimmed_cl=${cl/#$prefix}; cl="${trimmed_cl}";
25
+
26
# parse it
27
IFS='.' read id kind file_extension <<< "${cl}"
28
0 commit comments