Skip to content

Commit

Permalink
CI cleanup + workflow for PR assignment (#28787)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam-Armstrong authored Jul 9, 2024
1 parent ace8434 commit 1d16dfd
Show file tree
Hide file tree
Showing 11 changed files with 28 additions and 434 deletions.
2 changes: 0 additions & 2 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
# Ivy Framework
ivy/ @Sam-Armstrong
ivy/func_wrapper.py @Sam-Armstrong
**/gradients.py @Sam-Armstrong
ivy/utils/backend @Sam-Armstrong
ivy/utils/backend/ast_helpers.py @Sam-Armstrong

# Ivy Testing
ivy_tests/ @Sam-Armstrong
ivy_tests/test_ivy/helpers/ @Sam-Armstrong

# Docs builder
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/array-api-det-coverage.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: array-api-determine-test-coverage
on:
workflow_dispatch:
schedule:
- cron: "30 20 * * 6"
# schedule:
# - cron: "30 20 * * 6"

permissions:
actions: read
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/assign-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: assign-pr

on:
pull_request:
types: [opened]

jobs:
assign:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Assign PR
env:
GITHUB_TOKEN: ${{ secrets.DEV_BOT_GENERAL_PAT }}
run: |
PR_NUMBER=$(jq --raw-output .pull_request.number "$GITHUB_EVENT_PATH")
curl -s -X POST \
-H "Authorization: token $GITHUB_TOKEN" \
-H "Accept: application/vnd.github.v3+json" \
https://api.github.com/repos/${{ github.repository }}/issues/$PR_NUMBER/assignees \
-d '{"assignees":["Sam-Armstrong"]}'
4 changes: 2 additions & 2 deletions .github/workflows/det-test-coverage.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Determine Test Coverage
on:
workflow_dispatch:
schedule:
- cron: "30 20 * * 6"
# schedule:
# - cron: "30 20 * * 6"

permissions:
actions: read
Expand Down
78 changes: 0 additions & 78 deletions .github/workflows/run-all-tests.yml

This file was deleted.

76 changes: 0 additions & 76 deletions .github/workflows/run-failing-tests.yml

This file was deleted.

102 changes: 0 additions & 102 deletions .github/workflows/test-ivy-cron-gpu.yml

This file was deleted.

46 changes: 0 additions & 46 deletions .github/workflows/test-ivy-cron-multi-version.yml

This file was deleted.

Loading

0 comments on commit 1d16dfd

Please sign in to comment.