mirror of
https://github.com/immich-app/immich.git
synced 2024-12-02 09:52:47 +02:00
23 lines
554 B
YAML
23 lines
554 B
YAML
name: Update Immich SDK
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches: ["main"]
|
|
|
|
jobs:
|
|
update-sdk-repos:
|
|
runs-on: ubuntu-latest
|
|
if: ${{ !github.event.pull_request.head.repo.fork }}
|
|
steps:
|
|
- uses: actions/github-script@v6
|
|
with:
|
|
github-token: ${{ secrets.GH_TOKEN }}
|
|
script: |
|
|
await github.rest.actions.createWorkflowDispatch({
|
|
owner: 'immich-app',
|
|
repo: 'immich-sdk-typescript-axios',
|
|
workflow_id: 'build.yml',
|
|
ref: 'main'
|
|
})
|