-
Notifications
You must be signed in to change notification settings - Fork 153
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Co-authored-by: Sion Kang <[email protected]>
- Loading branch information
1 parent
29fcaab
commit a9c574d
Showing
3 changed files
with
16 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,13 +42,10 @@ jobs: | |
run: | | ||
author_name=$(git show -q --pretty='format:%an') | ||
author_email=$(git show -q --pretty='format:%ae') | ||
echo "Retrieved author information: $author_name <$author_email>" | ||
echo "name=$author_name" >> $GITHUB_OUTPUT | ||
echo "email=$author_email" >> $GITHUB_OUTPUT | ||
- name: Make commit message for changing change log file | ||
uses: stefanzweifel/git-auto-commit-action@v5 | ||
if: ${{ steps.assign_pr_number.outputs.has_renamed_pairs == 'true' }} | ||
with: | ||
commit_author: ${{ steps.get_author_info.outputs.name }} <${{ steps.get_author_info.outputs.email }}> | ||
commit_message: "docs: Rename the news fragment with the PR number\n\n${{ join(fromJSON(steps.assign_pr_number.outputs.rename_results), '\n') }}" | ||
git config user.email "$author_email" | ||
git config user.name "$author_name" | ||
git commit \ | ||
-m "docs: Rename the news fragment with the PR number\n\n${{ join(fromJSON(steps.assign_pr_number.outputs.rename_results), '\n') }}" \ | ||
--author="$author_name <$author_email>" \ | ||
--trailer "Co-authored-by: octodog <[email protected]>" | ||
git push |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,14 +60,13 @@ jobs: | |
run: | | ||
author_name=$(git show -q --pretty='format:%an') | ||
author_email=$(git show -q --pretty='format:%ae') | ||
echo "Retrieved author information: $author_name <$author_email>" | ||
echo "name=$author_name" >> $GITHUB_OUTPUT | ||
echo "email=$author_email" >> $GITHUB_OUTPUT | ||
- name: Make commit message for changing change log file | ||
uses: stefanzweifel/git-auto-commit-action@v5 | ||
with: | ||
commit_author: ${{ steps.get_author_info.outputs.name }} <${{ steps.get_author_info.outputs.email }}> | ||
commit_message: 'chore: update GraphQL schema dump' | ||
git config user.email "$author_email" | ||
git config user.name "$author_name" | ||
git commit \ | ||
-m "chore: update GraphQL schema dump" \ | ||
--author="$author_name <$author_email>" \ | ||
--trailer "Co-authored-by: octodog <[email protected]>" | ||
git push | ||
graphql-inspector: | ||
needs: graphql-updated | ||
|