Skip to content

Commit

Permalink
Catalog validation (#704)
Browse files Browse the repository at this point in the history
* Updating to run on separate branch

* Updating to run on separate branch

* fixing error with git pull
  • Loading branch information
IFenton authored Aug 7, 2024
1 parent 3ba1c00 commit fc9d5af
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/check-catalogs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ jobs:
contents: write
steps:
- uses: actions/checkout@v4
with:
ref: catalog-validation
- uses: actions/setup-python@v4
with:
python-version: '3.10'
Expand All @@ -31,7 +33,7 @@ jobs:
mv -f check_datasets.js frontend/src/consts/check_datasets.js
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git pull
git pull origin catalog-validation
git add .
git commit -m "auto-update via GH Action"
git push
git push origin catalog-validation
6 changes: 4 additions & 2 deletions .github/workflows/check-models.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ jobs:
contents: write
steps:
- uses: actions/checkout@v4
with:
ref: catalog-validation
- uses: actions/setup-python@v4
with:
python-version: '3.10'
Expand All @@ -32,8 +34,8 @@ jobs:
mv -f check_models.js frontend/src/consts/check_models.js
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git pull
git pull origin catalog-validation
git add .
git commit -m "auto-update via GH Action"
git push
git push origin catalog-validation
5 changes: 5 additions & 0 deletions .github/workflows/frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,12 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: catalog-validation

- name: Pull changes from main
run: git config pull.rebase true

- name: Install node
uses: actions/setup-node@v4
with:
Expand Down

0 comments on commit fc9d5af

Please sign in to comment.