Skip to content

Commit

Permalink
🧹 Fix PR body for GHA dep update PRs
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Zunker <[email protected]>
  • Loading branch information
czunker committed Dec 5, 2023
1 parent c80eb51 commit 0d318fc
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/update-deps.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,20 @@ jobs:
shell: bash

- name: Create pull request
run: gh pr create --base main --title "${{ steps.branch.outputs.COMMIT_TITLE }}" --body "Created by Mondoo Tools via Github actions\n\nWorkflow ${{ github.workflow }}"
run: |
PR_MD_FILE=$(mktemp)
echo << EOF > ${PR_MD_FILE}
!!! IGNORE THIS PR !!! Just a test - Christian
Created by Mondoo Tools via Github actions
Workflow:
https://github.com/mondoohq/cnquery/actions/workflows/update-deps.yaml
EOF
cat ${PR_MD_FILE}
gh pr create --base main --title "${{ steps.branch.outputs.COMMIT_TITLE }}" --body-file "${PR_MD_FILE}"
rm ${PR_MD_FILE}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 0d318fc

Please sign in to comment.