repo__manual-reset-param-branch #1
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: repo__manual-reset-param-branch | |
on: | |
workflow_dispatch: # Allow manual triggering | |
jobs: | |
reset: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Reset test-space/pk to develop | |
run: | | |
git config user.name github-actions | |
git config user.email [email protected] | |
git checkout test-space/pk | |
git reset --hard origin/develop | |
git push --force-with-lease origin test-space/pk |