name: CI

on:
  push:
    branches: [ "main" ]
  pull_request:
    branches: [ "main" ]

  workflow_dispatch:

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: https://data.forgejo.org/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: ./testdata/.github/workflows/local-reusable-and-dispatch.yml
    with:
      my-val: "passed value from main"
