diff --git a/.github/workflows/pull.yml b/.github/workflows/pull.yml index db856371..befb665d 100644 --- a/.github/workflows/pull.yml +++ b/.github/workflows/pull.yml @@ -15,7 +15,10 @@ jobs: # Runs a single command using the runners shell - name: Get PR commit message id: pr - run: echo "message=$(git log --format=%B -n 1)" > $GITHUB_OUTPUT + run: | + commitmessage=$(git log --format=%B -n 1) + echo "message=$commitmessage" > $GITHUB_OUTPUT + echo "set message=$commitmessage" # Runs a set of commands using the runners shell - name: Close PR if commit message is "Update main.go"