From 0e1eec6945333673ddf231448a1cdc98900850af Mon Sep 17 00:00:00 2001 From: isabelrios Date: Thu, 17 Oct 2024 17:42:34 +0200 Subject: [PATCH] Enable Bugzilla query to run daily (#45) * Enable Bugzilla query to run daily * rename github action to see the name in github ui * using url directly * fix env variable for bugzilla api key --- .github/workflows/production-daily.yml | 10 +++++----- .github/workflows/staging-daily.yml | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/production-daily.yml b/.github/workflows/production-daily.yml index fa14b14..f780ed4 100644 --- a/.github/workflows/production-daily.yml +++ b/.github/workflows/production-daily.yml @@ -1,4 +1,4 @@ -name: Testops Report DAILY +name: Testops Report DAILY - Production # Daily @8am UTC on: @@ -47,7 +47,7 @@ jobs: echo "JIRA_USER=${{ secrets.JIRA_USER }}" >> $GITHUB_ENV echo "JIRA_PASSWORD=${{ secrets.JIRA_PASSWORD }}" >> $GITHUB_ENV echo "GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}" >> $GITHUB_ENV - echo "BUGZILLA_API_KEY=${{ secrets.GITHUB_TOKEN }}" >> $GITHUB_ENV + echo "BUGZILLA_API_KEY=${{ secrets.BUGZILLA_API_KEY }}" >> $GITHUB_ENV - name: Jira query @@ -57,9 +57,9 @@ jobs: if: always() run: python ./__main__.py --report-type jira-qa-needed - #- name: Bugzilla query - # if: always() - # run: python ./__main__.py --report-type bugzilla-qe-verify + - name: Bugzilla query + if: always() + run: python ./__main__.py --report-type bugzilla-qe-verify - name: Set job log URL if: always() diff --git a/.github/workflows/staging-daily.yml b/.github/workflows/staging-daily.yml index c06ab08..6146137 100644 --- a/.github/workflows/staging-daily.yml +++ b/.github/workflows/staging-daily.yml @@ -1,4 +1,4 @@ -name: Testops Report DAILY +name: Testops Report DAILY - Staging # Daily @4am UTC on: @@ -37,7 +37,7 @@ jobs: echo "TESTRAIL_USERNAME=${{ secrets.TESTRAIL_USERNAME }}" >> $GITHUB_ENV echo "TESTRAIL_PASSWORD=${{ secrets.TESTRAIL_PASSWORD }}" >> $GITHUB_ENV echo "GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}" >> $GITHUB_ENV - echo "BUGZILLA_API_KEY=${{ secrets.GITHUB_TOKEN }}" >> $GITHUB_ENV + echo "BUGZILLA_API_KEY=${{ secrets.BUGZILLA_API_KEY }}" >> $GITHUB_ENV #- name: Update DB - test runs # run: python ./__main__.py --report-type test-run-counts --project fenix --start-date 2021-08-15 --end-date 2021-10-01