Skip to content

Commit

Permalink
update.
Browse files Browse the repository at this point in the history
  • Loading branch information
yecol committed Aug 16, 2024
1 parent 0a10449 commit a010e59
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
fi
- name: Upload Docs
if: ${{ github.event_name == 'push' && github.repository == 'alibaba/GraphScope' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')) }}
if: ${{ github.repository == 'alibaba/GraphScope' }}
shell: bash
run: |
shopt -s extglob
Expand Down
16 changes: 4 additions & 12 deletions .github/workflows/pr-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -219,16 +219,9 @@ jobs:
header: pr-title-lint-error
delete: true

- name: Regex on PR Title (for the next step)
uses: actions-ecosystem/action-regex-match@v2
id: pr-regex-match
with:
text: ${{ github.event.pull_request.title }}
regex: 'feat.*|refactor.*'

- name: Comments if Docs not present/changed while required
uses: marocchino/sticky-pull-request-comment@v2
if: ${{ steps.pr-regex-match.outputs.match != '' && steps.doc-changes.outputs.docs == 'false' }}
if: ${{ ( github.event.pull_request.title == 'feat.*' || github.event.pull_request.title == 'refactor.*' ) && steps.doc-changes.outputs.docs == 'false' }}
with:
header: pr-docs-change-required
message: |
Expand All @@ -241,10 +234,9 @@ jobs:
- name: Delete Comment if Docs changes committed
if: ${{ steps.changes.outputs.docs}}
uses: marocchino/sticky-pull-request-comment@v2
with:
header: pr-docs-change-required
delete: true

with:
header: pr-docs-change-required
delete: true

- name: Comments with the PR Preview URL
uses: marocchino/sticky-pull-request-comment@v2
Expand Down

0 comments on commit a010e59

Please sign in to comment.