Skip to content

Support local actions defined in repository #134

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
paul-sachs opened this issue Apr 20, 2023 · 0 comments
Open

Support local actions defined in repository #134

paul-sachs opened this issue Apr 20, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@paul-sachs
Copy link

Is your feature request related to a problem? Please describe.
I have a few locally created actions in the .github/actions directory but validation and autocomplete don't seem to work on these actions.

I have the following yaml file at .github/actions/wait-for-deployment-action

name: Wait for deployment
description: |
  Block until a deployment is finished for the pushed commit,
  and get the URL for running any further tests.
branding:
  icon: clock
  color: black

inputs:
  github-token:
    description: Your GitHub access token
    required: true
  environment:
    description: The deployment environment to wait for
  timeout:
    description: The number of seconds after which to fail if no deployment is found.
    default: 30
  interval:
    description: The number of seconds to wait between repeated checks for deployments.
    default: 5
  sha:
    description: |
      The commit SHA to wait for. Defaults to the current commit SHA. For PRs, this is the merge commit SHA.
      So provide ${{ github.event.pull_request.head.sha }} instead.

outputs:
  url:
    description: The deployment URL
  id:
    description: The GitHub deployment id

runs:
  using: node16
  main: dist/index.js

The below shows an attempt to autocomplete the params expected by a local action:
image

Describe the solution you'd like
For local actions to be validated and provide autocomplete for locally defined actions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Backlog 🗒
Development

No branches or pull requests

1 participant