Skip to content

fix: add token

fix: add token #1

name: Trigger dependencies update
on:
workflow_call:
inputs:
TARGET:
description: Target repo to trigger update dependencies on
required: true
type: string
secrets:
GITHUB_TOKEN:

Check failure on line 11 in .github/workflows/trigger-update-dependencies.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/trigger-update-dependencies.yml

Invalid workflow file

secret name `GITHUB_TOKEN` within `workflow_call` can not be used since it would collide with system reserved name
description: Token to use to trigger update dependencies
required: true
jobs:
trigger-update:
name: Trigger dependencies update
runs-on: ubuntu-latest
steps:
- run: gh workflow run composer-update.yml --repo=Humanoidfr/${{ inputs.TARGET }} --ref=main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}