Repository navigation
Closed
Labels
Description
Describe the bug
When using the new v11.1 release, I'm getting an Unrecognized named-value: 'github' error when GHA is parsing the workflow file (in the Set Up Job step)
Workflow used
Provide a snippet of the workflow and/or a link to it (use the commit sha as the ref when you link it, so that it's not influenced by other changes). If you only share a section of the workflow, make sure it includes the step that uses the action!
name: Publish Packages
on:
push:
branches: ['main']
jobs:
commit-test:
name: Bump version
runs-on: private
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Make test file
run: touch test_file.py
shell: bash
- name: Commit and push changes
uses: EndBug/[email protected]
with:
add: 'test_file.py'
message: 'chore: add test_file.py'
author_name: 'GitHub Action'
author_email: '[email protected]'
pull: '--rebase --autostash'
push: true
push_attempts: 3
Expected behavior
Action should load like normal without errors
Logs
Either provide a link to the action run or (if your repo is private) paste here the logs from the step that uses it. If you paste the logs, please use this template, and remember to paste the logs from all the different sections.
Logs
Current runner version: '2.123.0'
Runner name: 'runners-abc123-abc123'
Runner group name: 'private'
Machine name: 'runners-abc123-abc123'
Prepare workflow directory
Prepare all required actions
Getting action download info
Download action repository 'actions/checkout@v6' (SHA:d23441a48e516b6c34aea4fa41551a30e30af803)
Download action repository 'EndBug/add-and-commit@v11' (SHA:fc1cf1dd8747466e3313305ba0d26460c62a7e59)
Getting action download info
Download action repository 'actions/setup-python@v6' (SHA:ece7cb06caefa5fff74198d8649806c4678c61a1)
Getting action download info
Download action repository 'astral-sh/setup-uv@v7' (SHA:37802adc94f370d6bfd71619e3f0bf239e1f3b78)
Error: EndBug/add-and-commit/v11/action.yml (Line: 25, Col: 18): Unrecognized named-value: 'github'. Located at position 1 within expression: github.workspace
Error: Failed to load EndBug/add-and-commit/v11/action.yml
Reacted by Leonhardt Koepsell, Sverre Boschman, yuvalcohenrise, Alessandro Muntoni, Adrian Dmitroca and Viacheslav
Reacted by Jakob Jensen and Adrian Dmitroca
Activity
dzcode commentedon Aug 18, 2026
I've attempted a fix for this issue here: #783
adriandmitroca commentedon Aug 19, 2026
For now, the workaround is to pin to a previous version in the GitHub Action workflows:
uses: EndBug/[email protected]jiacai2050 commentedon Aug 19, 2026
jobs: newsletter: runs-on: ubuntu-latest @@ -60,10 +64,12 @@ jobs: - name: Commit - uses: EndBug/add-and-commit@v11 - with: - author_name: github-bot - add: "data" + run: | + git config user.name "github-bot" + git config user.email "[email protected]" + git add data/ + git diff --cached --quiet || git commit -m "Commit from GitHub Actions" + git pushIt seems this action is not a must, I replace this action with commands above.
EndBug commentedon Aug 19, 2026
Oops, my bad! I've just release the fix in v11.1.1
Thank you!
@all-contributors please add @dzcode for their bug report
allcontributors commentedon Aug 19, 2026
@EndBug
I've put up a pull request to add @dzcode! 🎉