Skip to content

Commit

Permalink
Update release-patch-workflow.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
mattd-mb authored Dec 12, 2024
1 parent c8a9f22 commit 03b6750
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/release-patch-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,19 @@ jobs:
- uses: actions/checkout@v1
- shell: bash
run: |
ls -all
sed -i 's|main|feature/troubleshoot-workflow-permissions|g' .github/workflows/publish-workflow.yaml
git config --local user.email "[email protected]"
git config --local user.name "mattd-shine"
ls -all
- shell: bash
env:
GITHUB_USER: [email protected]
GITHUB_BRANCH: ${{ github.head_ref || github.ref_name }}
run: |
echo "GITHUB_USER: $GITHUB_USER"
echo "GITHUB_BRANCH: $GITHUB_BRANCH"
git checkout "${GITHUB_BRANCH}"
sed -i 's|main|feature/troubleshoot-workflow-permissions|g' .github/workflows/publish-workflow.yaml
git config --local user.email "[email protected]"
git config --local user.name "mattd-shine"
git status
git remote remove origin
git remote add origin https://${{ secrets.MATTD_GITHUB_TOKEN }}@github.com/${{ github.repository }}.git
Expand Down

0 comments on commit 03b6750

Please sign in to comment.