Skip to content

Commit

Permalink
remove existing labels
Browse files Browse the repository at this point in the history
  • Loading branch information
Sidsector9 committed Jul 23, 2024
1 parent a094f46 commit 6a679cb
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,24 @@ jobs:
run: ./tests/bin/set-core-version.js WordPress/WordPress#master

- name: Setup E2E environment
run: npm run test:env:start
run: pwd

- name: Run E2E tests
id: square_e2e_tests
if: ${{ github.event_name == 'pull_request' }}
run: npm run test:e2e-run
run: pwd

- name: remove existing labels
uses: actions/github-script@v6
continue-on-error: true
with:
script: |
github.rest.issues.removeLabel({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
name: ['status: e2e tests passing', 'status: e2e tests failing']
})
- name: Update Success Label
if: |
Expand Down

0 comments on commit 6a679cb

Please sign in to comment.