-
Notifications
You must be signed in to change notification settings - Fork 62
Open
Labels
Status: TriageThis is being looked at and prioritizedThis is being looked at and prioritizedType: BugSomething isn't working as documentedSomething isn't working as documented
Description
What happened?
Hi,
I'm trying to create a new environment for a repository but always get a 404, the documentation do not present exemple on how to set nested json object as input parameters. Here is my step:
- name: Create Test environment
uses: octokit/request-action@v2.4.0
with:
route: PUT /repos/{owner}/{repo}/environments/{environment_name}
owner: ${{ github.repository_owner }}
repo: ${{ github.repository }}
environment_name: Test
deployment_branch_policy: |
protected_branches: false
custom_branch_policies: true
mediaType: |
format: json
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Thank you, probably not a bug, but lack of documentation on how to proceed.
Versions
v2.4.0
Relevant log output
Code of Conduct
- I agree to follow this project's Code of Conduct
Metadata
Metadata
Assignees
Labels
Status: TriageThis is being looked at and prioritizedThis is being looked at and prioritizedType: BugSomething isn't working as documentedSomething isn't working as documented
Type
Projects
Status
🆕 Triage