Dashboards - E2E - remove unnecessary steps (#106439)

pull/106269/head
Scott Lepper 1 month ago committed by GitHub
parent 7ee6b24872
commit 729ce0e2ba
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 20
      .github/workflows/e2e-dashboard-new-layouts.yml

@ -40,23 +40,3 @@ jobs:
runTests: false
- name: Run dashboardNewLayouts e2e
run: yarn e2e:dashboard-new-layouts
- name: Post PR comment on fail
uses: actions/github-script@v7
if: failure()
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
const prNumber = context.payload.pull_request.number;
const runId = context.runId;
const repoUrl = `https://github.com/${context.repo.owner}/${context.repo.repo}`;
const runUrl = `${repoUrl}/actions/runs/${runId}`;
await github.rest.issues.createComment({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: prNumber,
body: `⚠ E2E workflow for dashboardNewLayouts has failed. [Click here to view the run](${runUrl}).`
});
- name: Always succeed # This is a workaround to make the job pass even if the previous step fails
if: failure()
run: exit 0

Loading…
Cancel
Save