From e4ed808d1b1ff1fbcaa421bf0f0819c13582a033 Mon Sep 17 00:00:00 2001 From: Peiman Jafari Date: Wed, 28 Oct 2020 00:18:27 -0700 Subject: [PATCH] rename to AMToolCM --- README.md | 6 +++--- action.yml | 4 ++-- src/main.sh | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 0a847b5..0f67b08 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -# amomtool GitHub Actions +# AMToolCM GitHub Actions -amomtool GitHub Actions allow you to check Prometheus Alertmanager config within GitHub Actions. +AMTool GitHub Actions allow you to check Prometheus Alertmanager config within GitHub Actions. The output of the actions can be viewed from the Actions tab in the main repository view. If the actions are executed on a pull request event, a comment may be posted on the pull request. @@ -29,7 +29,7 @@ jobs: uses: actions/checkout@master - name: Check Prometheus Alertmanager Config - uses: peimanja/amtool-github-actions@master + uses: peimanja/amtoolcm-github-actions@main with: amtool_actions_config: 'alertmanager/config.yml' amtool_actions_version: '0.21.0' diff --git a/action.yml b/action.yml index 662fec9..5aaf594 100644 --- a/action.yml +++ b/action.yml @@ -1,5 +1,5 @@ -name: 'amtool GitHub Actions' -description: 'Runs Prometheus Alertmanager amtool commands via GitHub Actions.' +name: 'AMToolCM GitHub Actions' +description: 'Runs Prometheus Alertmanager amtool check-config subcommmand via GitHub Actions.' author: 'Peiman Jafari' branding: icon: 'terminal' diff --git a/src/main.sh b/src/main.sh index e5aa70a..05fbfa7 100755 --- a/src/main.sh +++ b/src/main.sh @@ -61,7 +61,7 @@ function main { cd ${GITHUB_WORKSPACE} installAmtool amtoolCheckConfig ${*} - esac + } main "${*}"