-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
34d05b2
commit 9cf45bd
Showing
3 changed files
with
4 additions
and
4 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 |
---|---|---|
|
@@ -72,7 +72,7 @@ jobs: | |
git pull | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "GitHub Action" | ||
git add -A && git commit -m "📚 “${{ env.BookTitle }}” (${{ env.BookStatus }})" | ||
git add -A && git commit -m "📚 ${{ inputs['book-status'] }} book “${{ env.BookTitle }}”" | ||
git push | ||
# Create pull request instead of directly committing if book is missing metadata | ||
|
@@ -88,7 +88,7 @@ jobs: | |
git config --local user.name "GitHub Action" | ||
git checkout -b review-book-${{env.BookIsbn}} | ||
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }} | ||
git add -A && git commit -m "📚 “${{ env.BookTitle }}” (${{ env.BookStatus }})" -m "“${{ env.BookTitle }}” is missing the following properties: ${{env.BookMissingMetadata}}. Edit this pull request to add them or merge it in." | ||
git add -A && git commit -m "📚 ${{ inputs['book-status'] }} book “${{ env.BookTitle }}”" -m "“${{ env.BookTitle }}” is missing the following properties: ${{env.BookMissingMetadata}}. Edit this pull request to add them or merge it in." | ||
git push --set-upstream origin review-book-${{env.BookIsbn}} | ||
gh pr create -B main -H "review-book-${{env.BookIsbn}}" --fill | ||
env: | ||
|
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 |
---|---|---|
|
@@ -71,5 +71,5 @@ jobs: | |
git pull | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "GitHub Action" | ||
git add -A && git commit -m "📚 “${{ env.BookTitle }}” (${{ env.BookStatus }})" | ||
git add -A && git commit -m "📚 ${{ inputs['book-status'] }} book “${{ env.BookTitle }}”" | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -65,5 +65,5 @@ jobs: | |
git pull | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "GitHub Action" | ||
git add -A && git commit -m "📚 “${{ env.BookTitle }}” (${{ env.BookStatus }})" | ||
git add -A && git commit -m "📚 ${{ inputs['book-status'] }} book “${{ env.BookTitle }}”" | ||
git push |