Set config for merge queue job #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: Merge | |
on: | |
pull_request: | |
merge_group: | |
jobs: | |
merge_build: | |
if: ${{ github.event_name == 'merge_group' }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/build | |
- name: Update txt | |
shell: bash | |
run: | | |
RANDOM_NUMBER=$((RANDOM % 1000000)) | |
echo "Hello World $RANDOM_NUMBER" > hello.txt | |
git config --global user.email "${{ github.actor }}@users.noreply.github.com" | |
git config --global user.name "${{ github.actor}}" | |
git add hello.txt | |
git commit -m "Update hello.txt" | |
git push |