From 5eb1f0d0a9dcba53a1348b7d31b75637e9eb7760 Mon Sep 17 00:00:00 2001 From: Prad Nukala Date: Tue, 24 Dec 2024 11:46:10 -0500 Subject: [PATCH] ci: improve CI workflow efficiency by removing merge --- .github/workflows/checks.yml | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index e528819f0..625e52835 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -9,7 +9,7 @@ jobs: name: Tidy PR if: github.event_name == 'pull_request' permissions: - contents: write # for TimonVS/pr-labeler-action to read config file + contents: read # for TimonVS/pr-labeler-action to read config file pull-requests: write # for TimonVS/pr-labeler-action to add labels in PR runs-on: ubuntu-latest steps: @@ -17,14 +17,6 @@ jobs: with: fetch-depth: 0 # Required to fetch all history for merging - - name: Update PR with master - run: | - git config user.name github-actions - git config user.email github-actions@github.com - git fetch origin master - git merge origin/master --no-edit - git push - - uses: TimonVS/pr-labeler-action@v5 with: repo-token: ${{ secrets.GITHUB_TOKEN }}