Skip to content

Commit

Permalink
Develop-bot v0 (#2)
Browse files Browse the repository at this point in the history
* get changes in lines of code

* get changes in lines of code

* get changes in lines of code

* get changes in lines of code

* get changes in lines of code

* get changes in lines of code

* get changes in lines of code

* get changes in lines of code

* get changes in lines of code

* get changes in lines of code

* get changes in lines of code

* get changes in lines of code

* get changes in lines of code

* get changes in lines of code

* get changes in lines of code

* get changes in lines of code

* get changes in lines of code

* get changes in lines of code

* get changes in lines of code

* get changes in lines of code

* get changes in lines of code

* get changes in lines of code

* get changes in lines of code

* get changes in lines of code

* get changes in lines of code

* get changes in lines of code

* get changes in lines of code

* get changes in lines of code
  • Loading branch information
Aarsh2001 committed Nov 4, 2023
1 parent c1ca6d0 commit 0016308
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 23 deletions.
46 changes: 23 additions & 23 deletions .github/workflows/pilot.yml
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
name: Doc-Pilot
on: [push, pull_request, workflow_dispatch, workflow_call]
on: [push, pull_request]

permissions:
actions: read
contents: write

jobs:
add-docstring:
add-docstring:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️ ${{ github.event.repository.name }}
uses: actions/checkout@v4
with:
path: DoCPilot
persist-credentials: false
submodules: "recursive"
set-safe-directory: false
- uses: actions/checkout@v2
with:
path: DocPilot
persist-credentials: false
submodules: "recursive"
fetch-depth: 100

- name: Get changed files
id: changed-files
uses: lots0logs/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN}}
- name: Get files Changes
uses: lots0logs/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}

- name: Run Claude Script
run: |
cat ${HOME}/files.json > /dev/stdout
echo "claude magic"
- name: Cleanup Process
run: |
echo "We have now run cleanup"
- name: Fetch Commit Changes
id: fetch_changes
run: |
cd DocPilot
# files changed can be accessed through ${HOME}/files.json
git diff HEAD~1 HEAD --output="diff.txt"
- name: Run Claude Magic
run: |
echo "python3 claude_script.py"
7 changes: 7 additions & 0 deletions dummy-files/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,3 +76,10 @@ def arange(
return res.astype(jnp.int32)
return res

def meshgrid(
*arrays: JaxArray,
sparse: bool = False,
indexing: str = "xy",
out: Optional[JaxArray] = None,
) -> List[JaxArray]:
return jnp.meshgrid(*arrays, sparse=sparse, indexing=indexing)

0 comments on commit 0016308

Please sign in to comment.