diff --git a/.github/workflows/pullrequest-ci-run.yml b/.github/workflows/pullrequest-ci-run.yml index a2a4b265c..0f1194b3d 100644 --- a/.github/workflows/pullrequest-ci-run.yml +++ b/.github/workflows/pullrequest-ci-run.yml @@ -28,7 +28,7 @@ jobs: runs-on: ${{ matrix.runner_label }} steps: - name: Test Workflows - uses: comfy-org/comfy-action@main + uses: comfy-org/comfy-action@2239a587d36772deab9605f1543abf0dc8aa8f92 # main with: os: ${{ matrix.os }} python_version: ${{ matrix.python_version }} diff --git a/.github/workflows/stable-release.yml b/.github/workflows/stable-release.yml index f501b7b31..ca90dd556 100644 --- a/.github/workflows/stable-release.yml +++ b/.github/workflows/stable-release.yml @@ -162,7 +162,7 @@ jobs: ls - name: Upload binaries to release - uses: softprops/action-gh-release@v2 + uses: softprops/action-gh-release@153bb8e04406b158c6c84fc1615b65b24149a1fe # v2 with: files: ComfyUI_windows_portable_${{ inputs.rel_name }}${{ inputs.rel_extra_name }}.7z tag_name: ${{ inputs.git_tag }} diff --git a/.github/workflows/test-ci.yml b/.github/workflows/test-ci.yml index adfc5dd32..67fd5fe6d 100644 --- a/.github/workflows/test-ci.yml +++ b/.github/workflows/test-ci.yml @@ -40,7 +40,7 @@ jobs: runs-on: ${{ matrix.runner_label }} steps: - name: Test Workflows - uses: comfy-org/comfy-action@main + uses: comfy-org/comfy-action@2239a587d36772deab9605f1543abf0dc8aa8f92 # main with: os: ${{ matrix.os }} python_version: ${{ matrix.python_version }} @@ -90,7 +90,7 @@ jobs: runs-on: ${{ matrix.runner_label }} steps: - name: Test Workflows - uses: comfy-org/comfy-action@main + uses: comfy-org/comfy-action@2239a587d36772deab9605f1543abf0dc8aa8f92 # main with: os: ${{ matrix.os }} python_version: ${{ matrix.python_version }} diff --git a/.github/workflows/update-api-stubs.yml b/.github/workflows/update-api-stubs.yml index c99ec9fc1..e2578f87d 100644 --- a/.github/workflows/update-api-stubs.yml +++ b/.github/workflows/update-api-stubs.yml @@ -43,7 +43,7 @@ jobs: - name: Create Pull Request if: steps.git-check.outputs.changes == 'true' - uses: peter-evans/create-pull-request@v5 + uses: peter-evans/create-pull-request@4e1beaa7521e8b457b572c090b25bd3db56bf1c5 # v5 with: commit-message: 'chore: update API models from OpenAPI spec' title: 'Update API models from api.comfy.org' diff --git a/.github/workflows/update-ci-container.yml b/.github/workflows/update-ci-container.yml index f7972e056..edc707957 100644 --- a/.github/workflows/update-ci-container.yml +++ b/.github/workflows/update-ci-container.yml @@ -45,7 +45,7 @@ jobs: - name: Create Pull Request id: create-pr - uses: peter-evans/create-pull-request@v7 + uses: peter-evans/create-pull-request@22a9089034f40e5a961c8808d113e2c98fb63676 # v7 with: token: ${{ secrets.CI_CONTAINER_PAT }} branch: automation/comfyui-${{ steps.version.outputs.version }} diff --git a/.github/workflows/update-version.yml b/.github/workflows/update-version.yml index c2343cc39..5c0848286 100644 --- a/.github/workflows/update-version.yml +++ b/.github/workflows/update-version.yml @@ -52,8 +52,11 @@ jobs: run: | git config --local user.name "github-actions" git config --local user.email "github-actions@github.com" - git fetch origin ${{ github.head_ref }} - git checkout -B ${{ github.head_ref }} origin/${{ github.head_ref }} + git fetch origin "${HEAD_REF}" + git checkout -B "${HEAD_REF}" "origin/${HEAD_REF}" git add comfyui_version.py git diff --quiet && git diff --staged --quiet || git commit -m "chore: Update comfyui_version.py to match pyproject.toml" - git push origin HEAD:${{ github.head_ref }} + git push origin "HEAD:${HEAD_REF}" + + env: + HEAD_REF: ${{ github.head_ref }} \ No newline at end of file diff --git a/.github/workflows/windows_release_nightly_pytorch.yml b/.github/workflows/windows_release_nightly_pytorch.yml index ca1ef71ae..fdc1c20ff 100644 --- a/.github/workflows/windows_release_nightly_pytorch.yml +++ b/.github/workflows/windows_release_nightly_pytorch.yml @@ -85,7 +85,7 @@ jobs: ls - name: Upload binaries to release - uses: svenstaro/upload-release-action@v2 + uses: svenstaro/upload-release-action@29e53e917877a24fad85510ded594ab3c9ca12de # v2 with: repo_token: ${{ secrets.GITHUB_TOKEN }} file: ComfyUI_windows_portable_nvidia_or_cpu_nightly_pytorch.7z diff --git a/.github/workflows/windows_release_package.yml b/.github/workflows/windows_release_package.yml index 7955325fc..7bf71831b 100644 --- a/.github/workflows/windows_release_package.yml +++ b/.github/workflows/windows_release_package.yml @@ -97,7 +97,7 @@ jobs: ls - name: Upload binaries to release - uses: svenstaro/upload-release-action@v2 + uses: svenstaro/upload-release-action@29e53e917877a24fad85510ded594ab3c9ca12de # v2 with: repo_token: ${{ secrets.GITHUB_TOKEN }} file: new_ComfyUI_windows_portable_nvidia_cu${{ inputs.cu }}_or_cpu.7z