-
Notifications
You must be signed in to change notification settings - Fork 59
Open
Labels
Status: BlockedSome technical or requirement is blocking the issueSome technical or requirement is blocking the issueType: SupportAny questions, information, or general needs around the SDK or GitHub APIsAny questions, information, or general needs around the SDK or GitHub APIs
Description
Hello, I have a step in my workflow like:
- name: Get count of commits ahead of merge base
id: github_compare
uses: octokit/request-action@v2.x
with:
route: GET /repos/:repository/compare/:base...:head
repository: ${{ github.repository }}
base: ${{ github.base_ref }}
head: ${{ github.ref }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
When the workflow runs, I see Annotations about unexpected inputs, and in the workflow output, I see:
##[warning]Unexpected input 'repository', valid inputs are ['route', 'mediaType']
##[warning]Unexpected input 'base', valid inputs are ['route', 'mediaType']
##[warning]Unexpected input 'head', valid inputs are ['route', 'mediaType']
Run octokit/request-action@v2.x
with:
route: GET /repos/:repository/compare/:base...:head
repository: dgholz/my_repo
base: master
head: refs/pull/1/merge
mediaType: {}
env:
GITHUB_TOKEN: ***
GET /repos/:repository/compare/:base...:head
> repository: dgholz/my_repo
> base: master
> head: refs/pull/1/merge
> mediaType: [object Object]
< 200 451ms
How do I prevent these warnings from appearing?
Metadata
Metadata
Assignees
Labels
Status: BlockedSome technical or requirement is blocking the issueSome technical or requirement is blocking the issueType: SupportAny questions, information, or general needs around the SDK or GitHub APIsAny questions, information, or general needs around the SDK or GitHub APIs