e2e: adjust some pipeline settings (#36178)

This commit is contained in:
Nuno Simões
2026-04-21 21:25:01 +02:00
committed by GitHub
parent 3fa8776095
commit 29bab2184d
4 changed files with 22 additions and 0 deletions
+7
View File
@@ -23,6 +23,9 @@ on:
type: string
required: false
permissions:
contents: read
jobs:
resolve-pr:
runs-on: ubuntu-24.04
@@ -206,6 +209,7 @@ jobs:
- check-changes
if: needs.resolve-pr.outputs.PR_NUMBER != ''
permissions:
contents: read
statuses: write
uses: ./.github/workflows/e2e-tests-cypress.yml
with:
@@ -231,6 +235,7 @@ jobs:
- check-changes
if: needs.resolve-pr.outputs.PR_NUMBER != ''
permissions:
contents: read
statuses: write
uses: ./.github/workflows/e2e-tests-playwright.yml
with:
@@ -254,6 +259,7 @@ jobs:
- check-changes
if: needs.resolve-pr.outputs.PR_NUMBER != '' && needs.check-changes.outputs.should_run_fips == 'true'
permissions:
contents: read
statuses: write
uses: ./.github/workflows/e2e-tests-cypress.yml
with:
@@ -279,6 +285,7 @@ jobs:
- check-changes
if: needs.resolve-pr.outputs.PR_NUMBER != '' && needs.check-changes.outputs.should_run_fips == 'true'
permissions:
contents: read
statuses: write
uses: ./.github/workflows/e2e-tests-playwright.yml
with:
+3
View File
@@ -62,6 +62,9 @@ on:
CWS_EXTRA_HTTP_HEADERS:
required: false
permissions:
contents: read
jobs:
generate-build-variables:
runs-on: ubuntu-24.04
@@ -99,6 +99,11 @@ on:
AWS_SECRET_ACCESS_KEY:
required: true
# Callers must grant at least these scopes on the job that uses this workflow
permissions:
contents: read
statuses: write
env:
SERVER_IMAGE: "${{ inputs.server_image_repo }}/${{ inputs.server_edition == 'fips' && 'mattermost-enterprise-fips-edition' || inputs.server_edition == 'team' && 'mattermost-team-edition' || 'mattermost-enterprise-edition' }}:${{ inputs.server_image_tag }}"
@@ -56,6 +56,9 @@ on:
AWS_SECRET_ACCESS_KEY:
required: true
permissions:
contents: read
jobs:
generate-build-variables:
runs-on: ubuntu-24.04
@@ -140,6 +143,7 @@ jobs:
if: inputs.should_run == 'false'
runs-on: ubuntu-24.04
permissions:
contents: read
statuses: write
steps:
- name: ci/post-skip-status
@@ -159,6 +163,9 @@ jobs:
needs:
- generate-build-variables
if: inputs.should_run != 'false'
permissions:
contents: read
statuses: write
uses: ./.github/workflows/e2e-tests-playwright-template.yml
with:
test_type: full