This repository has been archived by the owner on Jan 12, 2025. It is now read-only.
add action #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Auto Create Pull Request | |
on: | |
push: | |
branches-ignore: | |
- main | |
jobs: | |
create-pull-request: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v7 | |
with: | |
token: ${{ secrets.GH_TOKEN }} | |
commit-message: Auto PR from ${{ github.ref_name }} | |
title: "Auto PR: ${{ github.ref_name }} -> main" | |
body: | | |
This is an automated pull request created from the branch ${{ github.ref_name }}. | |
Changes in this PR: | |
${{ github.event.head_commit.message }} | |
branch: ${{ github.ref_name }} | |
base: main | |
delete-branch: false |