Skip to content

Commit

Permalink
chore: update jobs (#43)
Browse files Browse the repository at this point in the history
* chore: nit

* ci: update workflow triggers
  • Loading branch information
leovct authored Feb 5, 2024
1 parent 24055c5 commit fa3d1ab
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,13 @@ jobs:
run: |
if [[ -n $(git status --porcelain) ]]; then
echo "✅ Changes detected!"
echo "::set-output name=changes::true"
else
echo "No changes detected."
fi
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
with:
branch: 'chore/update-submodules'
commit-message: 'chore: update submodules'
title: 'chore: update submodules'
4 changes: 3 additions & 1 deletion .github/workflows/github-pages.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: Deploy to Github

on: push
on:
push:
branches: [main]

jobs:
deploy:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: Run linter

on: push
on:
pull_request:
push:
branches: [main]

env:
PNPM_VERSION: '8' # https://www.npmjs.com/package/pnpm
Expand Down

0 comments on commit fa3d1ab

Please sign in to comment.