From 747399eb10c8cfac06dc353398f8ba180c0bd18f Mon Sep 17 00:00:00 2001 From: Rich Alimi Date: Thu, 22 Sep 2022 22:31:30 -0700 Subject: [PATCH 1/3] Fetch all branches to enable diffs. Streamline titles. --- .github/workflows/pull-request-on-branch.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pull-request-on-branch.yml b/.github/workflows/pull-request-on-branch.yml index 3cab1e79..6e1ee165 100644 --- a/.github/workflows/pull-request-on-branch.yml +++ b/.github/workflows/pull-request-on-branch.yml @@ -1,4 +1,4 @@ -name: Create Pull Request for Branch +name: Create Pull Request on: # Push to non-master branch @@ -6,12 +6,15 @@ on: branches-ignore: master jobs: - pull-request: + create-pull-request: runs-on: ubuntu-latest permissions: pull-requests: write steps: - uses: actions/checkout@v3 + with: + # Enable action-pull-request to diff branches + fetch-depth: 0 - uses: devops-infra/action-pull-request@v0.5.0 with: github_token: ${{ secrets.GITHUB_TOKEN }} From 934c10926eba7a57bde94d0ced6c8f53c1ff6d6c Mon Sep 17 00:00:00 2001 From: Rich Alimi Date: Thu, 22 Sep 2022 22:31:57 -0700 Subject: [PATCH 2/3] Rename for consistency --- .../{pull-request-on-branch.yml => create-pull-request.yml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/workflows/{pull-request-on-branch.yml => create-pull-request.yml} (100%) diff --git a/.github/workflows/pull-request-on-branch.yml b/.github/workflows/create-pull-request.yml similarity index 100% rename from .github/workflows/pull-request-on-branch.yml rename to .github/workflows/create-pull-request.yml From 1f4930aaa3c11168944c6941793754c5f05768b6 Mon Sep 17 00:00:00 2001 From: Rich Alimi Date: Thu, 22 Sep 2022 22:37:10 -0700 Subject: [PATCH 3/3] Remove automatic pull requests --- .github/workflows/create-pull-request.yml | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 .github/workflows/create-pull-request.yml diff --git a/.github/workflows/create-pull-request.yml b/.github/workflows/create-pull-request.yml deleted file mode 100644 index 6e1ee165..00000000 --- a/.github/workflows/create-pull-request.yml +++ /dev/null @@ -1,22 +0,0 @@ -name: Create Pull Request - -on: - # Push to non-master branch - push: - branches-ignore: master - -jobs: - create-pull-request: - runs-on: ubuntu-latest - permissions: - pull-requests: write - steps: - - uses: actions/checkout@v3 - with: - # Enable action-pull-request to diff branches - fetch-depth: 0 - - uses: devops-infra/action-pull-request@v0.5.0 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - label: automatic - draft: true