Add remote trigger pat action
This commit is contained in:
parent
c297b4523e
commit
fe71e9ce9f
1 changed files with 19 additions and 0 deletions
19
.github/workflows/i18n-trigger.yaml
vendored
Normal file
19
.github/workflows/i18n-trigger.yaml
vendored
Normal 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'
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue