Skip to content

Commit

Permalink
ci: push to protected
Browse files Browse the repository at this point in the history
  • Loading branch information
ovidiuvio committed May 15, 2024
1 parent 5a21282 commit a534daa
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ on:
push:
branches:
- master
- 'push-action/**'
paths:
- '*/**'
jobs:
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit a534daa

Please sign in to comment.