We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de4d12f commit 6b87e07Copy full SHA for 6b87e07
1 file changed
.github/workflows/submodules_update.yml
@@ -30,13 +30,9 @@ jobs:
30
git config --global user.email "actions@github.com"
31
git config --global user.name "GitHub Actions - update submodules"
32
git commit -am "Update submodules" || echo "No changes to commit"
33
- checks:
34
- needs: update
35
- uses: ./.github/workflows/checks.yml
36
- push:
37
- runs-on: ubuntu-latest
38
- needs: checks
39
- steps:
40
- - name: Push
41
- run: |
42
- git push
+ - name: Push to protected branch
+ uses: CasperWA/push-protected@v2
+ with:
+ token: ${{ secrets.GITHUB_TOKEN }}
+ ref: ${{ github.ref }}
+ unprotect_reviews: true
0 commit comments