diff --git a/.github/workflows/deps.yml b/.github/workflows/deps.yml index 5e72f741..93ec7888 100644 --- a/.github/workflows/deps.yml +++ b/.github/workflows/deps.yml @@ -9,6 +9,7 @@ jobs: update: runs-on: ubuntu-latest permissions: + actions: write contents: write services: postgres: @@ -34,3 +35,6 @@ jobs: git config --global user.name "gh-actions" git config --global user.email "actions@github.com" - run: ./bin/up-to-date.sh + - run: gh workflow run push.yml + env: + GH_TOKEN: ${{ github.token }} diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 2b7e5a41..997783d0 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -5,6 +5,7 @@ on: branches: [main] pull_request: branches: [main] + workflow_dispatch: jobs: windows: diff --git a/bin/up-to-date.sh b/bin/up-to-date.sh index c372c2de..16581209 100755 --- a/bin/up-to-date.sh +++ b/bin/up-to-date.sh @@ -25,6 +25,7 @@ if [ -z "$(git status --porcelain)" ]; then exit 0 fi +useNpm exec -- playwright install-deps useNpm exec -- playwright install useNpm run migration up useNpm run ship