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:
push:
workflow_dispatch:
workflow_call:
permissions:
contents: write

View File

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