feat: Add security header (#145) #34
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update Test Branch | |
on: | |
push: | |
branches: [main] | |
permissions: write-all | |
jobs: | |
sync: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Setup Git User | |
run: | | |
git config user.name "GitHub Action" | |
git config user.email "hello@allinbits.com" | |
- name: Update Staging Branch | |
run: | | |
git checkout main | |
git fetch origin | |
git checkout staging | |
git pull | |
git merge origin/main | |
git push origin staging |