Skip to content

Commit

Permalink
Update github-actions-demo.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
matheus002 authored Aug 1, 2024
1 parent c50c7ca commit 534f1ce
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/github-actions-demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,17 @@ jobs:
- name: Add new File
run: |
echo "${{ secrets.SECRET_JSON }}" > scripts/test.json
- uses: stefanzweifel/git-auto-commit-action@v5
- name: Commit changes
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git add file.txt
git commit -m "Automated update to file.txt"
- name: Push changes
uses: ad-m/github-push-action@v0.6.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: matheus002-patch-1


0 comments on commit 534f1ce

Please sign in to comment.