Skip to content

Commit

Permalink
Correct multiline string
Browse files Browse the repository at this point in the history
[integration]
  • Loading branch information
SevInf committed Jul 19, 2024
1 parent fd60658 commit 2b000c1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build-engines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,15 @@ jobs:
id: commit-msg
run: |
commit_msg=$(git log --format=%B -n 1)
echo "commit-msg=$commit_msg" >> $GITHUB_OUTPUT
echo "commit-msg<<EOF\n$commit_msg\nEOF" >> $GITHUB_OUTPUT
- name: Debug Pull Request Event
if: ${{ github.event_name == 'pull_request' }}
run: |
echo "Pull Request: ${{ github.event.pull_request.number }}"
echo "Pull Request Author: ${{ github.event.pull_request.user.login }}"
echo "Pull Request Author Association: ${{ github.event.pull_request.author_association }}"
echo "Commit message: ${{ steps.commit-msg.outputs.commit-msg }}"
echo "Commit message contains [integration]: ${{ contains(steps.commit-msg.outputs.commit-msg, '[integration]') }}"
- name: 'Check if commit message conatains `[integration]` and the PR author has permissions to trigger the workflow'
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/utils/constructDockerBuildCommand.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/bin/bash
set -eux;

# full command
Expand Down

0 comments on commit 2b000c1

Please sign in to comment.