Skip to content

Set config for merge queue job #10

Set config for merge queue job

Set config for merge queue job #10

Workflow file for this run

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