Skip to content

Commit

Permalink
issue #4: no pull
Browse files Browse the repository at this point in the history
  • Loading branch information
vivalareda committed Dec 20, 2023
1 parent afae1c7 commit 7225ec4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/workflow-lint-test-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,13 +89,12 @@ jobs:
run: echo "${{ env.GIT_BRANCH_NAME }}"

- name: Push new file
if: steps.compare_values.outputs.update_value == 'true'
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Actions"
git checkout -b ${{ env.GIT_BRANCH_NAME }}
git pull origin ${{ env.GIT_BRANCH_NAME }} || true
git add .github/workflows/gcp-deployment.yml
git commit -m "Update threshold"
git push origin ${{ env.GIT_BRANCH_NAME }}
git push
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 7225ec4

Please sign in to comment.