Skip to content

Commit

Permalink
some multiline stuff I don't fully understand
Browse files Browse the repository at this point in the history
  • Loading branch information
aaruni96 committed Nov 27, 2024
1 parent ad5b75c commit 76f8d68
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/update-contrib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,18 @@ jobs:
git add _data/people_list.yml
git commit -m "Update contributors on $(date +'%Y-%m-%d')" || ${echo "No changes to commit" && false}
- name: Grab content from summary file
id: getsummary
run: |
echo 'foo<<EOF' >> $GITHUB_OUTPUT
echo $(cat summary.txt) >> $GITHUB_OUTPUT
echo 'EOF' >> $GITHUB_OUTPUT
# Create a pull request
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
commit-message: "Update contributors on $(date +'%Y-%m-%d')"
branch: update-contributors
title: "Update contributors"
body: "$(cat summary.txt)"
body: "${{ env.foo }}"

0 comments on commit 76f8d68

Please sign in to comment.