summaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
authorAustin S. Hemmelgarn <austin@netdata.cloud>2021-07-14 12:42:00 -0400
committerGitHub <noreply@github.com>2021-07-14 12:42:00 -0400
commita08c1b4af37b319af551e446ff8702b1597e3cd0 (patch)
treedcbe67ec1d9db364afa16bc9b33bcca5c03816db /.github/workflows
parent4006970974fc4e1187c3ea1e84af9b8c0d57dbf4 (diff)
Properly handle the file list for updating the dashboard. (#11282)
Also add slightly nicer logging.
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/dashboard-pr.yml4
1 files changed, 1 insertions, 3 deletions
diff --git a/.github/workflows/dashboard-pr.yml b/.github/workflows/dashboard-pr.yml
index a1e068285b..7461e21b84 100644
--- a/.github/workflows/dashboard-pr.yml
+++ b/.github/workflows/dashboard-pr.yml
@@ -36,9 +36,7 @@ jobs:
env:
GH_TOKEN: ${{ secrets.NETDATABOT_GITHUB_TOKEN }}
with:
- files: |
- packaging/dashboard.version
- packaging/dashboard.checksums
+ files: ${{ env.COMMIT_FILES }} # Created by the bundle_dashboard.py script.
commit-message: 'Update dashboard to version ${{ github.event.inputs.dashboard_version }}.'
ref: refs/heads/dashboard-${{ github.event.inputs.dashboard_version }}
- name: Create PR