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/add-and-commit@v11.0.0
with:
add: 'test_file.py'
message: 'chore: add test_file.py'
author_name: 'GitHub Action'
author_email: 'testemail@foo.bar'
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
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 theSet Up Jobstep)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!
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