diff --git a/.github/workflows/offboarding.yml b/.github/workflows/offboarding.yml index 90ffb40..7a20948 100644 --- a/.github/workflows/offboarding.yml +++ b/.github/workflows/offboarding.yml @@ -27,7 +27,7 @@ jobs: id: offboarding_checklist run: | CONTENT=$(cat employee-lifecycle/offboarding-checklist.md) - CONTENT="**Employee Name:** ${{ github.event.inputs.employee_name }}\n**Employee Email:** ${{ github.event.inputs.employee_email }}\n\n$CONTENT" + CONTENT="**Employee Name:** ${{ github.event.inputs.employee_name }}\\n**Employee Email:** ${{ github.event.inputs.employee_email }}\\n\\n$CONTENT" echo "content<> $GITHUB_ENV echo "$CONTENT" >> $GITHUB_ENV echo "EOF" >> $GITHUB_ENV diff --git a/.github/workflows/onboarding.yml b/.github/workflows/onboarding.yml index b7756e0..b0e64bd 100644 --- a/.github/workflows/onboarding.yml +++ b/.github/workflows/onboarding.yml @@ -27,7 +27,7 @@ jobs: id: onboarding_checklist run: | CONTENT=$(cat employee-lifecycle/onboarding-checklist.md) - CONTENT="**Employee Name:** ${{ github.event.inputs.employee_name }}\n**Employee Email:** ${{ github.event.inputs.employee_email }}\n\n$CONTENT" + CONTENT="**Employee Name:** ${{ github.event.inputs.employee_name }}\\n**Employee Email:** ${{ github.event.inputs.employee_email }}\\n\\n$CONTENT" echo "content<> $GITHUB_ENV echo "$CONTENT" >> $GITHUB_ENV echo "EOF" >> $GITHUB_ENV diff --git a/.github/workflows/request-acknowledgment.yml b/.github/workflows/request-acknowledgment.yml index 52a113f..9346cbb 100644 --- a/.github/workflows/request-acknowledgment.yml +++ b/.github/workflows/request-acknowledgment.yml @@ -23,13 +23,14 @@ jobs: run: | ISSUE_BODY="It's time to generate infosec acknowledgement issues for all of the ROAR team.\n\n" ISSUE_BODY+="Perform these commands on your command line:\n" - ISSUE_BODY+="```\n" + ISSUE_BODY+="\`\`\`\n" ISSUE_BODY+="TEAM_MEMBERS=\$(gh api orgs/yeatmanlab/teams/roar/members --jq '.[].login')\n" ISSUE_BODY+="for MEMBER in \$TEAM_MEMBERS\n" ISSUE_BODY+="do\n" ISSUE_BODY+=" ISSUE_BODY=\"Please acknowledge that you have reviewed the Data Privacy and Information Security Manual and accompanying documents by commenting 'Acknowledged' below.\"\n" ISSUE_BODY+=" gh issue create --title \"Acknowledgment Request for \$MEMBER\" --body \"\$ISSUE_BODY\" --assignee \$MEMBER\n" ISSUE_BODY+="done\n" + ISSUE_BODY+="\`\`\`\n" gh issue create --title "Create Acknowledgement Requests" --body "$ISSUE_BODY" --assignee richford