Skip to content

aqua-github-actions/ga-aqua-find-defect-key

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

Aqua Find Defect Key

Search for defect keys on a provided string.

This github actions is inspired by gajira-find-issue-key

ℹ️
This GitHub Action requires Aqua Login Action

Usage

An example workflow to find defect key on commits, branch name or static string:

on: push

name: Aqua Example

jobs:
  build:
    runs-on: ubuntu-latest
    name: Aqua Example
    steps:
    - name: Login
      id: login
      uses: aqua-github-actions/ga-aqua-login@v1.0.1
      with:
        aqua-base-url: ${{ secrets.AQUA_BASE_URL }}
        aqua-username: ${{ secrets.AQUA_USERNAME }}
        aqua-password: ${{ secrets.AQUA_PASSWORD }}
    - name: Find on commits
      uses: aqua-github-actions/ga-aqua-find-defect-key@v1.0.0
      with:
        aqua-base-url: ${{ secrets.AQUA_BASE_URL }}
        aqua-token: ${{ steps.login.outputs.token }}
        from: commits

Action Spec:

Environment variables

Arguments

  • aqua-base-url - URL of aqua instance. Example https://aqua-saas2.andagon.com/aquaWebNG

  • aqua-token - Bearer token for authentication against aqua cloud instance.

  • from - One of the following to search for defect keys: (commits, branch, or custom string)