Skip to content

internal: Add automated tests #1

internal: Add automated tests

internal: Add automated tests #1

name: Release Please E2E Tests
on:
pull_request:
branches:
- main
permissions: {}
jobs:
e2e-tests:

Check failure on line 11 in .github/workflows/release-please-e2e-tests.yml

View workflow run for this annotation

GitHub Actions / Release Please E2E Tests

Invalid workflow file

The workflow is not valid. .github/workflows/release-please-e2e-tests.yml (Line: 11, Col: 3): Error calling workflow 'grafana/k6-studio/.github/workflows/e2e-build-test.yml@486611c385988b6e663615f3d0cc4487c5b7ef8a'. The nested job 'build-test' is requesting 'contents: write, id-token: write', but is only allowed 'contents: none, id-token: none'.
if: startsWith(github.head_ref, 'release-please--')
uses: ./.github/workflows/e2e-build-test.yml
with:
build-command: package
secrets:
APPLE_CERTIFICATE_P12: ${{ secrets.APPLE_CERTIFICATE_P12 }}
CERTIFICATE_PASSWORD: ${{ secrets.CERTIFICATE_PASSWORD }}
APPLE_API_KEY: ${{ secrets.APPLE_API_KEY }}
APPLE_API_KEY_ID: ${{ secrets.APPLE_API_KEY_ID }}
APPLE_API_ISSUER: ${{ secrets.APPLE_API_ISSUER }}
SENTRY_DSN: ${{ secrets.SENTRY_DSN }}
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
TRUSTED_SIGNING_ACCOUNT: grafana-premium-eastus
TRUSTED_SIGNING_ENDPOINT: https://eus.codesigning.azure.net/
TRUSTED_SIGNING_PROFILE: grafana-production