Skip to content

Commit

Permalink
Update notebook-pr.yaml to remove pr comment job that is deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
iamzoltan authored Apr 3, 2024
1 parent eecf46d commit 29a3977
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/notebook-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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')"
Expand Down Expand Up @@ -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')"
Expand Down

0 comments on commit 29a3977

Please sign in to comment.