Skip to content

Commit 33e1b13

Browse files
authored
Merge pull request #862 from utopia-php/feat-self-healing-prs
Feat self healing prs
2 parents d765945 + 6db64ff commit 33e1b13

4 files changed

Lines changed: 45 additions & 10 deletions

File tree

.github/workflows/claude.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Claude
2+
3+
on:
4+
pull_request:
5+
types: [opened, synchronize, ready_for_review, reopened]
6+
pull_request_review:
7+
types: [submitted]
8+
issue_comment:
9+
types: [created]
10+
pull_request_review_comment:
11+
types: [created]
12+
issues:
13+
types: [opened, assigned]
14+
workflow_run:
15+
workflows: [Tests]
16+
types: [completed]
17+
18+
jobs:
19+
claude:
20+
# Caller must grant the union of every permission the callee's jobs ask
21+
# for; reusable workflows can't exceed the caller's ceiling.
22+
permissions:
23+
contents: write
24+
pull-requests: write
25+
issues: write
26+
actions: read
27+
id-token: write
28+
uses: abnegate/claude-pr-owner/.github/workflows/orchestrator.yml@e6baaab0ae24628a4d6e8b695b49a77f37e797f7 # v0.1.0
29+
secrets:
30+
oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
31+
with:
32+
improvement: true
33+
healing: true
34+
bots: true
35+
comments: true

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88

99
steps:
1010
- name: Checkout repository
11-
uses: actions/checkout@v4
11+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1212
with:
1313
fetch-depth: 2
1414

.github/workflows/linter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88

99
steps:
1010
- name: Checkout repository
11-
uses: actions/checkout@v4
11+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1212
with:
1313
fetch-depth: 2
1414

.github/workflows/tests.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ jobs:
1616
runs-on: ubuntu-latest
1717
steps:
1818
- name: Checkout repository
19-
uses: actions/checkout@v4
19+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2020

2121
- name: Set up Docker Buildx
22-
uses: docker/setup-buildx-action@v3
22+
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3.12.0
2323

2424
- name: Build Docker Image
25-
uses: docker/build-push-action@v3
25+
uses: docker/build-push-action@1104d471370f9806843c095c1db02b5a90c5f8b6 # v3.3.1
2626
with:
2727
context: .
2828
push: false
@@ -33,7 +33,7 @@ jobs:
3333
outputs: type=docker,dest=/tmp/${{ env.IMAGE }}.tar
3434

3535
- name: Cache Docker Image
36-
uses: actions/cache@v3
36+
uses: actions/cache@6f8efc29b200d32929f49075959781ed54ec270c # v3.5.0
3737
with:
3838
key: ${{ env.CACHE_KEY }}
3939
path: /tmp/${{ env.IMAGE }}.tar
@@ -45,10 +45,10 @@ jobs:
4545

4646
steps:
4747
- name: checkout
48-
uses: actions/checkout@v4
48+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
4949

5050
- name: Load Cache
51-
uses: actions/cache@v3
51+
uses: actions/cache@6f8efc29b200d32929f49075959781ed54ec270c # v3.5.0
5252
with:
5353
key: ${{ env.CACHE_KEY }}
5454
path: /tmp/${{ env.IMAGE }}.tar
@@ -88,10 +88,10 @@ jobs:
8888

8989
steps:
9090
- name: checkout
91-
uses: actions/checkout@v4
91+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
9292

9393
- name: Load Cache
94-
uses: actions/cache@v3
94+
uses: actions/cache@6f8efc29b200d32929f49075959781ed54ec270c # v3.5.0
9595
with:
9696
key: ${{ env.CACHE_KEY }}
9797
path: /tmp/${{ env.IMAGE }}.tar

0 commit comments

Comments
 (0)