Skip to content

Commit

Permalink
feat: auto pr feature
Browse files Browse the repository at this point in the history
  • Loading branch information
bonyuta0204 committed Nov 30, 2023
1 parent 0104d82 commit 65b39a4
Show file tree
Hide file tree
Showing 6 changed files with 37,220 additions and 36 deletions.
25 changes: 16 additions & 9 deletions .github/workflows/auto-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,21 @@ name: Manual Dispatch

on:
workflow_dispatch:
push:
branches:
- main

jobs:
run:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Run a script
uses: ./
with:
src-branch: "release-stg"
run:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Run a script
uses: ./
with:
src-branch: "release-stg"
target-branch: "main"
8 changes: 6 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
name: 'Auto Pull Request'
description: 'Greet someone and record the time'
inputs:
repo-token:
description: 'The GitHub token used to manage labels'
required: false
default: ${{ github.token }}
src-branch: # id of input
description: "src-branch"
description: "src branc"
target-branch: # id of input
description: "src-branch"
description: "target branch"
required: true
runs:
using: 'node20'
Expand Down
Loading

0 comments on commit 65b39a4

Please sign in to comment.