Skip to content

Commit

Permalink
different way to remove label
Browse files Browse the repository at this point in the history
remove experiment files
reinstate ci.yml
  • Loading branch information
rahimrahman committed Sep 20, 2024
1 parent 55ba281 commit 876566b
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 344 deletions.
21 changes: 0 additions & 21 deletions .github/workflows/ci.yml.suspend

This file was deleted.

21 changes: 10 additions & 11 deletions .github/workflows/e2e-detox-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,14 +90,13 @@ jobs:
script: |
const iosLabel = 'E2E iOS tests for PR';
const androidLabel = 'E2E Android tests for PR';
const labels = context.payload.pull_request.labels.map(label => label.name);
if (labels.includes(iosLabel)) {
github.rest.issues.removeLabel({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
name: iosLabel,
});
}
context.payload.pull_request.labels.forEach(label => {
if (label.name.includes(iosLabel)) {
github.rest.issues.removeLabel({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
name: label.name,
});
}
});
311 changes: 0 additions & 311 deletions .github/workflows/e2e-detox-template-experiment.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/e2e-detox-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ jobs:
if: ${{ inputs.run-ios-tests }}
runs-on: macos-14
continue-on-error: true
timeout-minutes: ${{ inputs.low_bandwidth_mode && 60 || 40 }}
timeout-minutes: ${{ inputs.low_bandwidth_mode && 80 || 40 }}
env:
IOS: true
needs:
Expand Down

0 comments on commit 876566b

Please sign in to comment.