Skip to content

Commit

Permalink
Update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
hlohaus committed Jan 21, 2024
1 parent 9cbe9c1 commit e13aa2e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/copilot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,10 @@ on:
- opened
- synchronize

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

permissions:
contents: read
pull-requests: write

jobs:
review:
runs-on: ubuntu-latest
permissions: write-all
steps:
- name: Checkout Repo
uses: actions/checkout@v3
Expand All @@ -30,4 +24,6 @@ jobs:
- name: Install PyGithub
run: pip install PyGithub
- name: AI Code Review
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: python -m etc.tool.copilot
9 changes: 8 additions & 1 deletion .github/workflows/unittest.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
name: Unittest

on: [push]
on:
pull_request:
types:
- opened
- synchronize
push:
branches:
- 'main'

jobs:
build:
Expand Down

0 comments on commit e13aa2e

Please sign in to comment.