Skip to content

Commit

Permalink
Try to fix workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
richford committed Oct 18, 2024
1 parent b7c2237 commit 733effc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/offboarding.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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<<EOF" >> $GITHUB_ENV
echo "$CONTENT" >> $GITHUB_ENV
echo "EOF" >> $GITHUB_ENV
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/onboarding.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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<<EOF" >> $GITHUB_ENV
echo "$CONTENT" >> $GITHUB_ENV
echo "EOF" >> $GITHUB_ENV
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/request-acknowledgment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 733effc

Please sign in to comment.