Call main workflow in update-wit

This commit is contained in:
Demetrius Kanios 2026-08-03 16:31:08 -07:00
parent 1c3f9f412f
commit 993b966628
2 changed files with 8 additions and 1 deletions

View File

@ -2,6 +2,7 @@ name: Main
on: on:
push: push:
workflow_dispatch: workflow_dispatch:
workflow_call:
permissions: permissions:
contents: write contents: write

View File

@ -4,11 +4,12 @@ on:
permissions: permissions:
contents: write contents: write
pull-requests: write
jobs: jobs:
update-wit: update-wit:
name: Update WIT name: Update WIT
runs-on: ubuntu-latest runs-on: ubuntu-slim
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v6 uses: actions/checkout@v6
@ -37,3 +38,8 @@ jobs:
git add wit git add wit
git commit -m "Sync to Pumpkin-MC/pumpkin-plugin-wit@${witCommit}" git commit -m "Sync to Pumpkin-MC/pumpkin-plugin-wit@${witCommit}"
git push git push
main:
name: Build, test, and release
needs: update-wit
uses: ./.github/workflows/main.yml