From a534daaddb158fbb1bffe79fd8907e7fae8e368c Mon Sep 17 00:00:00 2001 From: Ovidiu Ionescu Date: Thu, 16 May 2024 02:03:33 +0300 Subject: [PATCH] ci: push to protected --- .github/workflows/release.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 131ae38..c226353 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,7 +3,6 @@ on: push: branches: - master - - 'push-action/**' paths: - '*/**' jobs: @@ -50,12 +49,11 @@ jobs: git add ./Properties/AssemblyInfo.cs git add ./VSDebugCoreLib/Properties/AssemblyInfo.cs git add ./source.extension.vsixmanifest - git commit -m "VSDebugPro ${{ env.Version }}" - - name: Pushing to the protected branch 'protected' - uses: CasperWA/push-protected@v2 + - name: Commit and Push to master + uses: fabriziocacicia/commit-and-push-to-protected-branch-action@v0.1.0 with: - token: ${{ secrets.FORCE_PUSH_TOKEN }} - branch: master + temp_branch_prefix: push-action/ + commit_message: "VSDebugPro ${{ env.Version }}" - name: Build extension run: msbuild $env:SolutionPath /t:Rebuild env: