Skip to content

High-performance browser automation bridge and multi-instance orchestrator with advanced stealth injection and real-time dashboard.

fix(ci): constrain dispatched workflow refs

Luigi Agosti0fe9e8dc4700
diff --git a/.github/workflows/ci-plugin.yml b/.github/workflows/ci-plugin.yml
index 68e53cb2..5f96761e 100644
--- a/.github/workflows/ci-plugin.yml
+++ b/.github/workflows/ci-plugin.yml
@@ -2,11 +2,6 @@ name: CI / Plugin
on:
workflow_dispatch:
- inputs:
- ref:
- description: 'Git ref to check. Defaults to the workflow ref.'
- required: false
- default: ''
push:
branches: [main]
paths:
@@ -30,4 +25,4 @@ jobs:
plugin:
uses: ./.github/workflows/reusable-plugin.yml
with:
- ref: ${{ inputs.ref || github.sha }}
+ ref: ${{ github.sha }}
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index d677592e..8cae28e7 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -6,10 +6,6 @@ on:
version:
description: 'Release version (e.g. 0.8.0, without v prefix)'
required: true
- ref:
- description: 'Git ref to release. Defaults to main.'
- required: false
- default: 'main'
env:
GORELEASER_VERSION: v2.14.3
@@ -26,7 +22,7 @@ jobs:
uses: ./.github/workflows/reusable-validate-release.yml
with:
version: ${{ inputs.version }}
- ref: ${{ inputs.ref }}
+ ref: ${{ github.sha }}
release-secret-checks:
needs: validate