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."