Skip to content

Commit

Permalink
chore(clerk-js): Test a change in the ui directory
Browse files Browse the repository at this point in the history
  • Loading branch information
anagstef committed Nov 28, 2023
1 parent 26bbc50 commit 2e208ec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 17 deletions.
18 changes: 2 additions & 16 deletions .github/workflows/ui-retheme-changes-reminder.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,16 @@
name: UI Retheme Changes Reminder

on:
push:
pull_request:
paths:
- 'packages/clerk-js/src/ui/**'

jobs:
check-changes:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Check for changes in specific directory
id: file_changes
run: |
if git diff --name-only ${{ github.event.before }} ${{ github.sha }} | grep -q 'packages/clerk-js/src/ui/'
then
echo "changes_detected=true" >> $GITHUB_ENV
fi
- name: Post a comment if changes detected
if: env.changes_detected == 'true'
uses: peter-evans/create-or-update-comment@v1
uses: peter-evans/[email protected]
with:
issue-number: ${{ github.event.pull_request.number }}
body: |
Expand Down
2 changes: 1 addition & 1 deletion packages/clerk-js/src/ui/icons/arrow-left.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 2e208ec

Please sign in to comment.