Skip to content

Repository files navigation

Find Deployment

CI GitHub Marketplace Mergify Status

A GitHub Action that find a GitHub deployment by hash, ref or environment name.

Usage

This is the basic usage.

on:
  issues: [opened]
  pull_request: [opened]

steps:
    - uses: KekeHub/find-deployment@v1
      with:
        sha: ${{ github.sha }}

Note that this can be used for either organization or user projects. Please see the following sections for details.

Inputs

NAME DESCRIPTION TYPE REQUIRED DEFAULT
base-url URL of the GItHUb enterprise URL. number false
environment Name of the enviroment. number false
ref Private key of the GitHub App. string false
issue-id ID of the issue. string true ${{ github.event.issue.node_id }} or ${{ github.event.pull_request.node_id }}
owner Organization or the user e.g. KekeHub string false The workflows GitHub organization
token A GitHub token. If GitHub App arguments are configured, this argument will be ignored. string false ${{ github.token }}
project-id ID (Number) of the project. e.g.) 1 number true

Outputs

NAME DESCRIPTION TYPE
project-item-id ID of the item (issue or pull request) that was added to the project. Useful for later use if you want to update the fields. You can use KekeHub/update-project-item-fields to update the fields. string

Related Actions

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages