Add remote trigger pat action

This commit is contained in:
Lucas Nicodemus 2022-10-20 23:19:16 -07:00
parent c297b4523e
commit fe71e9ce9f
No known key found for this signature in database

19
.github/workflows/i18n-trigger.yaml vendored Normal file
View file

@ -0,0 +1,19 @@
name: i18n check trigger
on:
push:
branches: [ general-devel ]
workflow_dispatch:
jobs:
extract:
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@v6
with:
github-token: ${{ secrets.ACTIONS_REMOTE_TRIGGER_PAT }}
script: |
await github.rest.actions.createWorkflowDispatch({
owner: 'hakusaro',
repo: 'tshock_i18n',
workflow_id: 'i18n-extract.yml',
ref: 'main'
})