Skip to content

Commit

Permalink
Add a git switch
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan.danehy@pnnl.gov committed Oct 16, 2023
1 parent fbcec85 commit 6ef090e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ornl_ascent_mirror.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ jobs:
run: echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT
id: extract_branch

- name: git checkout
run: git switch ${{ steps.extract_branch.outputs.branch }}

# Action for mirroring your commits to a different remote repository
- uses: yesolutions/mirror-action@master
# Give actions access to some secrets
Expand Down

0 comments on commit 6ef090e

Please sign in to comment.