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.
2 parents 77d62de + 7dc3828 commit 2f063a7Copy full SHA for 2f063a7
.github/workflows/backport-pr.yml
@@ -25,9 +25,11 @@ jobs:
25
- uses: actions/checkout@v4
26
- name: Get backport metadata
27
# the target branch is the first argument after `/backport`
28
+ env:
29
+ COMMENT_BODY: ${{ github.event.comment.body }}
30
run: |
31
set -euo pipefail
- body="${{ github.event.comment.body }}"
32
+ body="$COMMENT_BODY"
33
34
line=${body%%$'\n'*} # Get the first line
35
if [[ $line =~ ^/backport[[:space:]]+([^[:space:]]+) ]]; then
0 commit comments