From 5f5421ca07d50ab3bd9767c24b60d05526fb8ca4 Mon Sep 17 00:00:00 2001 From: null8626 Date: Mon, 28 Oct 2024 23:02:35 +0700 Subject: [PATCH] ci: simplify job step --- .github/workflows/CI.yml | 7 ++----- .github/workflows/changelog.yml | 7 ++----- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 82d8ae0..a714689 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -51,9 +51,6 @@ jobs: with: commit: -S message: ${{ github.event.head_commit.message }} - push: false + push: --force env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - name: Push commit - run: git push -f - shell: bash \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml index 1a29e90..81c8c35 100644 --- a/.github/workflows/changelog.yml +++ b/.github/workflows/changelog.yml @@ -39,9 +39,6 @@ jobs: with: commit: -S message: ${{ github.event.head_commit.message }} - push: false + push: --force env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - name: Push commit - run: git push -f - shell: bash \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file