Aqua Defect Comment
Add a comment / note to an aqua defect
This github actions is inspired by gajira-comment
ℹ️
|
This GitHub Action requires Aqua Login Action |
An example workflow to add a comment to a defect:
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: Add a comment
uses: aqua-github-actions/ga-aqua-comment@v0.0.1
with:
aqua-base-url: ${{ secrets.AQUA_BASE_URL }}
aqua-token: ${{ steps.login.outputs.token }}
defect: DF001268
comment: new
- name: Logout
uses: aqua-github-actions/ga-aqua-logout@v1.0.0
with:
aqua-base-url: ${{ secrets.AQUA_BASE_URL }}
aqua-token: ${{ steps.login.outputs.token }}
-
AQUA_BASE_URL
- URL of aqua instance. Example:https://aqua-saas2.andagon.com/aquaWebNG
-
aqua-base-url
- URL of aqua instance. Examplehttps://aqua-saas2.andagon.com/aquaWebNG
-
aqua-token
- Bearer token for authentication against aqua cloud instance. -
defect
- Id of defect to update -
comment
- Name of transition to update to e.g. (new, solved, reopened, paused, closed, in processing)