Skip to content

Commit

Permalink
test if setting this test if this can push
Browse files Browse the repository at this point in the history
  • Loading branch information
mshafer-NI committed Oct 12, 2023
1 parent e717d1d commit fdd125a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/Publish-Package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,14 @@ jobs:
poetry version prepatch
- name: Commit files
if: ${{ github.event.release.target_commitish == 'main' }}
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git pull --tags -f
git commit -m "Bump package version" -a
git config credential.helper '!f() { sleep 1; echo "username=oauth2"; echo "password=${GIT_PASSWORD}"; }; f'
- name: Push changes
if: ${{ github.event.release.target_commitish == 'main' }}
uses: CasperWA/push-protected@v2
with:
token: ${{ secrets.ADMIN_PAT }}
Expand Down

0 comments on commit fdd125a

Please sign in to comment.