diff options
author | Austin S. Hemmelgarn <austin@netdata.cloud> | 2021-05-10 07:05:45 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-10 07:05:45 -0400 |
commit | 695342fc7a27a517e25900e2c6e9602a3131c53c (patch) | |
tree | 2c2f0354115ab50ece5b8718314094b5fe3481db | |
parent | d36a992aee5566d273a21e6f288c7552508f0b96 (diff) |
Automatically trigger Helmchart PR on agent release. (#11084)
* Automatically trigger Helmchart PR on agent release.
This will automatically trigger the workflow in the netdata/helmchart
repo that generates a PR to bump the agent version bundled with the
helmchart when we bpulish a docker image for a release.
* Add missing `uses` key in action step.
* Properly quote JSON data.
-rw-r--r-- | .github/workflows/docker.yml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index a5648d2a93..4f18ce5b68 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -67,3 +67,12 @@ jobs: && github.event_name != 'pull_request' && startsWith(github.ref, 'refs/heads/master') }} + - name: Trigger Helmchart PR + if: github.event_name == 'workflow_dispatch' && github.event.inputs.version != 'nightly' + uses: benc-uk/workflow-dispatch@v1 + with: + token: ${{ secrets.NETDATABOT_GITHUB_TOKEN }} + repo: netdata/helmchart + workflow: Agent Version PR + ref: refs/heads/master + inputs: '{"agent_version": "${{ github.event.inputs.version }}"}' |