Skip to content

chore: reusable github workflows #1

chore: reusable github workflows

chore: reusable github workflows #1

Workflow file for this run

name: Push Main
on:
push:
branches: [main]
jobs:
call-format:
uses: ./.github/workflows/format.yml
call-test:
uses: ./.github/workflows/test.yml

Check failure on line 12 in .github/workflows/push.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/push.yml

Invalid workflow file

error parsing called workflow ".github/workflows/push.yml" -> "./.github/workflows/test.yml" (source branch with sha:9e5196a3172afa68250dd3de2ae8b3cad71d39de) : secret name `GITHUB_TOKEN` within `workflow_call` can not be used since it would collide with system reserved name
secrets:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
call-publish:
needs: [call-format, call-test]
uses: ./.github/workflows/test.yml
permissions:
contents: read
id-token: write