From 963ce82594f730d82d71548f241cbafee121ce35 Mon Sep 17 00:00:00 2001 From: Fernando Briano Date: Tue, 12 Mar 2024 10:19:25 +0000 Subject: [PATCH 1/3] Updates report GitHub Action --- .github/workflows/report.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/report.yml b/.github/workflows/report.yml index dc1be09..abf1b1b 100644 --- a/.github/workflows/report.yml +++ b/.github/workflows/report.yml @@ -22,6 +22,7 @@ jobs: - name: Build run: | cd report && bundle install + echo "REPORT_DATE=`date "+%Y-%m-%d|%H:%M:%S"`" >> $GITHUB_ENV - name: Download Artifacts run: cd report && bundle exec rake download_all - name: Generate report @@ -30,4 +31,6 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - commit-message: Updates report `date` + commit-message: Updates API report ${{env.REPORT_DATE}} + title: Updates API report + author: 'Elastic Machine ' From 08337a903390ee40722eafe369f9da1ce619b7c5 Mon Sep 17 00:00:00 2001 From: Fernando Briano Date: Tue, 12 Mar 2024 10:26:17 +0000 Subject: [PATCH 2/3] Removes pull_request from update report GitHub Action This caused a new Pull Request to update the report on every Pull Request. I updated it to only do this when pushing to main. --- .github/workflows/report.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/report.yml b/.github/workflows/report.yml index abf1b1b..b097487 100644 --- a/.github/workflows/report.yml +++ b/.github/workflows/report.yml @@ -4,9 +4,6 @@ on: push: branches: - main - pull_request: - branches: - - main jobs: generate_report: runs-on: ubuntu-latest From eeb83ae672f8ba8d407a0a4ee521492849c0cffb Mon Sep 17 00:00:00 2001 From: Fernando Briano Date: Tue, 12 Mar 2024 10:28:08 +0000 Subject: [PATCH 3/3] Updates report GitHub Action STACK_VERSION to 8.14 --- .github/workflows/report.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/report.yml b/.github/workflows/report.yml index b097487..11ed9a4 100644 --- a/.github/workflows/report.yml +++ b/.github/workflows/report.yml @@ -15,7 +15,7 @@ jobs: with: ruby-version: 3.3 env: - STACK_VERSION: 8.13.0-SNAPSHOT + STACK_VERSION: 8.14.0-SNAPSHOT - name: Build run: | cd report && bundle install