Skip to content

Commit 2f7f9df

Browse files
ptr727dependabot[bot]github-actions[bot]Copilot
authored
Develop (#110)
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: ptr727 <2061579+ptr727@users.noreply.github.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 98409b3 commit 2f7f9df

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/merge-bot-pull-request.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name: Merge bot pull request action
22

33
on:
44
pull_request:
5+
types: [opened, reopened, synchronize]
56

67
concurrency:
78
group: ${{ github.workflow }}-${{ github.ref }}
@@ -35,7 +36,7 @@ jobs:
3536
merge-codegen:
3637
name: Merge codegen pull request job
3738
runs-on: ubuntu-latest
38-
if: github.event.pull_request.head.ref == 'codegen' && github.event.pull_request.head.repo.full_name == github.repository && contains(github.event.pull_request.labels.*.name, 'automated-codegen')
39+
if: github.actor == 'ptr727' && github.event.pull_request.user.login == 'ptr727' && github.event.pull_request.head.ref == 'codegen' && github.event.pull_request.base.ref == 'main' && github.event.pull_request.head.repo.full_name == github.repository
3940
permissions:
4041
contents: write
4142
pull-requests: write

.github/workflows/run-codegen-pull-request-task.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ jobs:
2121

2222
- name: Checkout code step
2323
uses: actions/checkout@v6
24+
with:
25+
ref: main
2426

2527
- name: Run codegen step
2628
run: |
@@ -38,6 +40,7 @@ jobs:
3840
uses: peter-evans/create-pull-request@v8
3941
with:
4042
token: ${{ secrets.WORKFLOW_PAT }}
43+
base: main
4144
branch: codegen
4245
title: 'Update codegen files'
4346
body: 'This PR updates the codegen files.'

0 commit comments

Comments
 (0)