* Remove redundant check See: https://github.com/nektos/act/issues/2464#issuecomment-2430903650 * Add condition to prevent replacing inputs in reusable workflows with workflow_dispatch inputs Closes: https://github.com/nektos/act/issues/2464 * fmt * Revert "Remove redundant check" This reverts commit 63455960ec714eea7631a586bcd59bed449739fc. * add test * Update runner_test.go * update label --------- Co-authored-by: ChristopherHX <christopher.homberger@web.de>
22 lines
458 B
YAML
22 lines
458 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches: [ "main" ]
|
|
pull_request:
|
|
branches: [ "main" ]
|
|
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Run a one-line script
|
|
run: echo "✅ 🚀 ✅ hello this is from workflow main" ${{ github.event_name }}
|
|
call-reuse-w-val:
|
|
uses: ./.github/workflows/local-reusable-and-dispatch.yml
|
|
with:
|
|
my-val: "passed value from main"
|