remove dot (#27) #10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update File After PR Closed | ||
on: | ||
push: | ||
branches: | ||
- development | ||
jobs: | ||
update-file: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
- name: Update file | ||
- name: Do something | ||
if: github.event_name == 'pull_request' && github.event.action == 'closed' && github.event.pull_request.merged == true | ||
run: | | ||
git config --global user.name "GitHub Actions" | ||
git config --global user.email "[email protected]" | ||
echo "Updated content" > hello.txt | ||
git add hello.txt | ||
git commit -m "Update file after PR merge" | ||
git push origin HEAD:${{ github.base_ref }} |