You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
False warning for Github checkout step: "Context access might be invalid"
To Reproduce
Steps to reproduce the behavior:
With this workflow '...'
name: checkout
if: github.event_name == 'pull_request' || github.event_name == 'pull_request_target'
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
I get this warning under problems in VS Code:
"Context access might be invalid: pull_request"
Expected behavior
No problem warning in VS Code because I am checking if github event is pull_request or pull_request_target
Extension Version v0.27.1
The text was updated successfully, but these errors were encountered:
Describe the bug
False warning for Github checkout step: "Context access might be invalid"
To Reproduce
Steps to reproduce the behavior:
if: github.event_name == 'pull_request' || github.event_name == 'pull_request_target'
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
I get this warning under problems in VS Code:
"Context access might be invalid: pull_request"
Expected behavior
No problem warning in VS Code because I am checking if github event is pull_request or pull_request_target
Extension Version
v0.27.1
The text was updated successfully, but these errors were encountered: