Skip to content

Commit

Permalink
Merge branch 'main' into test/BI-29
Browse files Browse the repository at this point in the history
  • Loading branch information
ayushtiwari110 authored Oct 16, 2023
2 parents 18abcd9 + 3d94089 commit 8709d6b
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,21 @@ jobs:
with:
# 👇 Chromatic projectToken, refer to the manage page to obtain it.
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}

check-up-to-date:
name: Check if PR is up to date with the main branch
runs-on: ubuntu-latest

steps:
- name: Git checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
#Check if the PR is up to date with the main branch
- name: Check if branch is ahead of main
run: |
if ! git merge-base --is-ancestor origin/main ${{ github.event.pull_request.head.sha }};
then echo "This branch is not up to date. Please merge with main.";
exit 1;
else echo "This branch is up to date with main!🎉";
fi
Empty file removed .preetierignore
Empty file.
9 changes: 9 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
.github/workflows/actions.yml
.eslintrc.json
.prettierrc.json
.storybook/
.vscode/settings.json
package.json
package-lock.json
README.md
tailwind.config.js

0 comments on commit 8709d6b

Please sign in to comment.