Skip to content

chore: go a little bold, create reusable workflow for tests to avoid … #1

chore: go a little bold, create reusable workflow for tests to avoid …

chore: go a little bold, create reusable workflow for tests to avoid … #1

Workflow file for this run

name: Push Main
on:
push:
branches:
- main
paths-ignore:
- README.md
jobs:
run-tests:
uses: gptscript-ai/go-gptscript/.github/workflows/run_tests.yaml@main

Check failure on line 11 in .github/workflows/push_main.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/push_main.yaml

Invalid workflow file

error parsing called workflow ".github/workflows/push_main.yaml" -> "gptscript-ai/go-gptscript/.github/workflows/run_tests.yaml@main" (source branch with sha:872acc141c7aea12f3732393f48894b2b7b1fa71) : secret name `GITHUB_TOKEN` within `workflow_call` can not be used since it would collide with system reserved name
with:
git_ref: ''
secrets:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}