generated from Uniswap/foundry-template
-
Notifications
You must be signed in to change notification settings - Fork 9
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
9 additions
and
9 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 |
---|---|---|
|
@@ -7,8 +7,8 @@ on: | |
- staging | ||
- dev | ||
schedule: | ||
# Run this workflow daily at 03:17 UTC | ||
- cron: "17 3 * * *" | ||
# Run this workflow hourly at *:17 UTC | ||
- cron: "17 * * * *" | ||
|
||
jobs: | ||
update-submodules: | ||
|
@@ -30,15 +30,15 @@ jobs: | |
git config --global user.name "github-actions[bot]" | ||
git config --global user.email "github-actions[bot]@users.noreply.github.com" | ||
- name: Setup SSH | ||
uses: webfactory/[email protected] | ||
with: | ||
ssh-private-key: ${{ secrets.DEPLOY_KEY }} | ||
|
||
- name: Check for Changes | ||
id: git-check | ||
run: | | ||
echo "::set-output name=changes::$(git status --porcelain)" | ||
echo "changes=$(git status --porcelain)" >> $GITHUB_OUTPUT | ||
- name: Setup SSH | ||
uses: webfactory/[email protected] | ||
with: | ||
ssh-private-key: ${{ secrets.DEPLOY_KEY }} | ||
|
||
- name: Commit and Push if Changes are Present | ||
if: steps.git-check.outputs.changes != '' | ||
|