I am creating a composite action and I am trying to use the secrets supplied by GitHub but I am running into errors stating that secrets are not found.
This could be recreated with your action.yml looking like:
name: 'test'
description: 'test'
runs:
using: 'composite'
steps:
- name: Create Branch
run: echo "git branch test"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
shell: bash
The composite actions seem to have no knowledge of secrets which make it hard to run git commands via them.