From 63dab5fe729c86a98aeb45e2fe000508332ec459 Mon Sep 17 00:00:00 2001 From: binary_ho Date: Wed, 24 Apr 2024 11:19:51 +0900 Subject: [PATCH] Create auto-pr-for-count-files.yml --- .github/workflows/auto-pr-for-count-files.yml | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/auto-pr-for-count-files.yml diff --git a/.github/workflows/auto-pr-for-count-files.yml b/.github/workflows/auto-pr-for-count-files.yml new file mode 100644 index 0000000..21da73e --- /dev/null +++ b/.github/workflows/auto-pr-for-count-files.yml @@ -0,0 +1,30 @@ +name: Auto PR to main + +on: + push: + branches: + - "bot/count-files" + +jobs: + build-and-pr: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Create Pull Request + uses: repo-sync/pull-request@v2 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + destination_branch: "main" + source_branch: "bot/count-files" + pr_title: "Automated PR to Main" + pr_body: "Please review updates from bot/count-files." + # steps: + # - uses: actions/checkout@v2 + # - name: Create Pull Request + # uses: repo-sync/pull-request@v2 + # with: + # github_token: ${{ secrets.GITHUB_TOKEN }} + # destination_branch: "main" + # source_branch: "bot/count-files" + # pr_title: "Automated PR to Main" + # pr_body: "Update main branch with changes from develop."