Skip to content

Commit

Permalink
rename to AMToolCM
Browse files Browse the repository at this point in the history
  • Loading branch information
Peiman Jafari committed Oct 28, 2020
1 parent 043ade4 commit e4ed808
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down Expand Up @@ -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'
Expand Down
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
@@ -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'
Expand Down
2 changes: 1 addition & 1 deletion src/main.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ function main {
cd ${GITHUB_WORKSPACE}
installAmtool
amtoolCheckConfig ${*}
esac

}

main "${*}"

0 comments on commit e4ed808

Please sign in to comment.