-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
2 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,25 +36,15 @@ jobs: | |
make Superdataset | ||
make PortalDataset | ||
make PortalStudy | ||
- name: Check changes in any of the schema files | ||
run: | | ||
if git diff-index --quiet HEAD --; then | ||
echo 'FOLLOWUP_COMMIT=true' >> $GITHUB_ENV | ||
else | ||
echo 'FOLLOWUP_COMMIT=false' >> $GITHUB_ENV | ||
fi | ||
- name: Commit files | ||
if: ${{ env.FOLLOWUP_COMMIT == true }} | ||
run: | | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "nf-osi[bot]" | ||
git add . | ||
git commit -m "Rebuild NF.jsonld, json" | ||
- name: Push changes | ||
if: ${{ env.FOLLOWUP_COMMIT == true }} | ||
uses: ad-m/github-push-action@master | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters