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 b6cc5d9 commit 0b41066Copy full SHA for 0b41066
action.yml
@@ -42,6 +42,9 @@ runs:
42
echo "Markers not found in snippet file"
43
exit 1
44
fi
45
+
46
+ START_LINE=$((START_LINE + 1))
47
+ END_LINE=$((END_LINE - 1))
48
49
PERMALINK="https://github.com/${GITHUB_REPOSITORY}/blob/${{ steps.get-commit.outputs.commit_id }}/${{ inputs.snippet_file }}#L${START_LINE}-L${END_LINE}"
50
0 commit comments