Skip to content

Commit

Permalink
chore(workflows): fix workflow
Browse files Browse the repository at this point in the history
fix workflow
  • Loading branch information
snomiao committed Dec 30, 2024
1 parent 8db23f1 commit d9f6569
Showing 1 changed file with 5 additions and 18 deletions.
23 changes: 5 additions & 18 deletions .github/workflows/i18n-custom-nodes-test.yaml
Original file line number Diff line number Diff line change
@@ -1,25 +1,12 @@
name: Update Locales for given custom node repository

on:
push:

env:
owner: huchenlei
repository: ComfyUI-IC-Light-Native
fork_owner: comfy-pr-bot
on:
push:
workflow_dispatch:
inputs:
owner: huchenlei
description: 'Owner of the repository to update locales for'
required: true
type: string
repository: ComfyUI-IC-Light-Native
description: 'Repository to update locales for'
required: true
type: string
fork_owner: comfy-pr-bot
description: 'Owner of the forked repository'
required: false
type: string
default: 'Comfy-Org'

jobs:
update-locales:
Expand Down Expand Up @@ -135,7 +122,7 @@ jobs:
git config --global user.email '[email protected]'
# Configure the remote with token
git remote set-url pr "https://${{ secrets.GH_TOKEN_PR }}@github.com/${{ env.fork_owner }}/${{ env.repository }}.git"
git remote add pr "https://[email protected]/${{ env.fork_owner }}/${{ env.repository }}.git"
# Create and switch to new branch
git checkout -b update-locales
Expand Down

0 comments on commit d9f6569

Please sign in to comment.