Call main workflow in update-wit
This commit is contained in:
parent
1c3f9f412f
commit
993b966628
1
.github/workflows/main.yml
vendored
1
.github/workflows/main.yml
vendored
@ -2,6 +2,7 @@ name: Main
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
workflow_call:
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
|
|||||||
8
.github/workflows/update-wit.yml
vendored
8
.github/workflows/update-wit.yml
vendored
@ -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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user