-
Notifications
You must be signed in to change notification settings - Fork 269
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update notebook-pr.yaml to remove pr comment job that is deprecated
- Loading branch information
Showing
1 changed file
with
11 additions
and
11 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 |
---|---|---|
|
@@ -23,10 +23,10 @@ jobs: | |
fetch-depth: 0 | ||
ref: ${{ github.head_ref }} | ||
|
||
# - name: Get commit message | ||
# run: | | ||
# readonly local msg=$(git log -1 --pretty=format:"%s") | ||
# echo "COMMIT_MESSAGE=$msg" >> $GITHUB_ENV | ||
- name: Get commit message | ||
run: | | ||
readonly local msg=$(git log -1 --pretty=format:"%s") | ||
echo "COMMIT_MESSAGE=$msg" >> $GITHUB_ENV | ||
- name: Set up Python | ||
if: "!contains(env.COMMIT_MESSAGE, 'skip ci')" | ||
|
@@ -86,13 +86,13 @@ jobs: | |
python ci/verify_exercises.py $nbs --c "$COMMIT_MESSAGE" | ||
python ci/make_pr_comment.py $nbs --branch $branch --o comment.txt | ||
- name: Add PR comment | ||
if: "!contains(env.COMMIT_MESSAGE, 'skip ci')" | ||
uses: machine-learning-apps/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
path: comment.txt | ||
# - name: Add PR comment | ||
# if: "!contains(env.COMMIT_MESSAGE, 'skip ci')" | ||
# uses: machine-learning-apps/[email protected] | ||
# env: | ||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
# with: | ||
# path: comment.txt | ||
|
||
- name: Update READMEs | ||
if: "!contains(env.COMMIT_MESSAGE, 'skip ci')" | ||
|