From 7669847fdb35bbebccaf7cfb2b8bf91b30da3707 Mon Sep 17 00:00:00 2001 From: Josh Hunt Date: Thu, 8 May 2025 13:26:16 +0100 Subject: [PATCH] [release-11.3.7] CI: Fix Skye and E2E GHA workflows (#104905) CI: Fix Skye and E2E GHA workflows (#104811) * CI: Use pr_automation_app in skye workflow * CI: Fix e2e workflow artifact name (cherry picked from commit e9fe1dedf760ef234e5e8ee8eec30364e7ec4b26) * remove old-arch check (cherry picked from commit 960e2d057b86fdcbb208699a8b6737833b9e86b5) (cherry picked from commit 035ecc15b242e18ac9cde82585eb58eb295aaecb) --- .github/workflows/run-e2e-suite.yml | 4 ++-- .github/workflows/skye-add-to-project.yml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/run-e2e-suite.yml b/.github/workflows/run-e2e-suite.yml index 5445d21f9bb..ae0cb4cfd3a 100644 --- a/.github/workflows/run-e2e-suite.yml +++ b/.github/workflows/run-e2e-suite.yml @@ -21,18 +21,18 @@ jobs: with: name: ${{ inputs.package }} - uses: dagger/dagger-for-github@e47aba410ef9bb9ed81a4d2a97df31061e5e842e - if: inputs.old-arch == false with: verb: run args: go run ./pkg/build/e2e --package=grafana.tar.gz --suite=${{ inputs.suite }} - name: Set suite name id: set-suite-name + if: always() env: SUITE: ${{ inputs.suite }} run: | echo "suite=$(echo $SUITE | sed 's/\//-/g')" >> $GITHUB_OUTPUT - uses: actions/upload-artifact@v4 - if: ${{ always() && inputs.old-arch != true }} + if: always() with: name: e2e-${{ steps.set-suite-name.outputs.suite }}-${{github.run_number}} path: videos diff --git a/.github/workflows/skye-add-to-project.yml b/.github/workflows/skye-add-to-project.yml index 321f4c40b2a..7aee160cbcb 100644 --- a/.github/workflows/skye-add-to-project.yml +++ b/.github/workflows/skye-add-to-project.yml @@ -33,11 +33,11 @@ jobs: uses: grafana/shared-workflows/actions/get-vault-secrets@main # zizmor: ignore[unpinned-uses] with: # Vault secret paths: - # - ci/repo/grafana/grafana/plugins_platform_issue_commands_github_bot + # - ci/repo/grafana/grafana/grafana_pr_automation_app # - ci/repo/grafana/grafana/frontend_platform_skye_usernames (comma separated list of usernames) repo_secrets: | - GH_APP_ID=plugins_platform_issue_commands_github_bot:app_id - GH_APP_PEM=plugins_platform_issue_commands_github_bot:app_pem + GH_APP_ID=grafana_pr_automation_app:app_id + GH_APP_PEM=grafana_pr_automation_app:app_pem ALLOWED_USERS=frontend_platform_skye_usernames:allowed_users - name: Generate token