From d19368508814b1f7d1b67af44f16e5f6dbd4c30c Mon Sep 17 00:00:00 2001 From: Satyam Jha <135056339+may-tas@users.noreply.github.com> Date: Mon, 13 Jan 2025 12:15:22 +0530 Subject: [PATCH] Update push.yml to Auto-Commit Changes in pubspec.lock (#2701) * updated push.yml workflow adding pubspec.lock auto-commit * added git push * removed auto-commit and added git stash approach * added auto-commit back and added check in check_ignore to ignore generated files * added "git checkout develop-postgres" * added postgres to git diff * added develop-postgres in all required workflow files. * re-run workflow --------- Co-authored-by: Satyam Jha --- .github/pull_request_template.md | 4 +-- .github/workflows/check_ignore.py | 8 +++-- .github/workflows/issues.yml | 2 +- .github/workflows/pull-request-target.yml | 2 +- .github/workflows/pull-request.yml | 16 ++++----- .github/workflows/push.yml | 41 ++++++++++++++++------- .github/workflows/stale.yml | 6 ++-- 7 files changed, 49 insertions(+), 30 deletions(-) diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 563df3116..4683b777f 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -3,12 +3,12 @@ This section can be deleted after reading. We employ the following branching strategy to simplify the development process and to ensure that only stable code is pushed to the `master` branch: -- `develop`: For unstable code: New features and bug fixes. +- `develop-postgres`: For unstable code: New features and bug fixes. - `master`: Where the stable production-ready code lies. Only security-related bugs. NOTE!!! -ONLY SUBMIT PRS AGAINST OUR `DEVELOP` BRANCH. THE DEFAULT IS `MAIN`, SO YOU WILL HAVE TO MODIFY THIS BEFORE SUBMITTING YOUR PR FOR REVIEW. PRS MADE AGAINST `MAIN` WILL BE CLOSED. +ONLY SUBMIT PRS AGAINST OUR `DEVELOP-POSTGRES` BRANCH. THE DEFAULT IS `MAIN`, SO YOU WILL HAVE TO MODIFY THIS BEFORE SUBMITTING YOUR PR FOR REVIEW. PRS MADE AGAINST `MAIN` WILL BE CLOSED. -->