Skip to content

✨ feat(workflows): require GITHUB_TOKEN secret for auto-merge and CI … #8

✨ feat(workflows): require GITHUB_TOKEN secret for auto-merge and CI …

✨ feat(workflows): require GITHUB_TOKEN secret for auto-merge and CI … #8

on:
workflow_dispatch:
push:
branches:
- main
- stage
- feature/**
- bugfix/**
- fix/**
- hotfix/**
- release/**
- dependabot/**
- renovate/**
- chore/**
- test/**
jobs:
call-auto-merge:
uses: variablesoftware/github-workflows/.github/workflows/auto-merge.yml@main

Check failure on line 19 in .github/workflows/call-auto-merge.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/call-auto-merge.yml

Invalid workflow file

error parsing called workflow ".github/workflows/call-auto-merge.yml" -> "variablesoftware/github-workflows/.github/workflows/auto-merge.yml@main" (source branch with sha:af4b71e7c65379fd7ce74592587fa8466ae7acfa) : 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 }}