Revert "feat(ci): Allow running manual workflows against specific commits"

This reverts commit 9b4845bf8d.
This commit is contained in:
timedout 2025-12-22 13:45:45 +00:00
parent 9b4845bf8d
commit 1237e60aaf
No known key found for this signature in database
GPG key ID: 0FA334385D0B689F

View file

@ -18,12 +18,6 @@ on:
- "v*.*.*"
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
inputs:
commit:
description: 'Commit SHA to build (default: latest commit on the branch)'
required: false
default: ""
type: string
env:
BUILTIN_REGISTRY: forgejo.ellis.link
@ -48,14 +42,10 @@ jobs:
slug: "linux-arm64"
steps:
- name: Pick checkout ref
run:
echo "COMMIT_REF=${{ github.event_name == 'workflow_dispatch' && (github.event.inputs.commit != '' && github.event.inputs.commit || github.sha) || github.sha }}" >> $GITHUB_ENV
- name: Checkout repository
uses: actions/checkout@v6
with:
persist-credentials: false
ref: ${{ env.COMMIT_REF }}
- name: Prepare Docker build environment
id: prepare
uses: ./.forgejo/actions/prepare-docker-build