name: Refresh Compat from Main Patch on: push: tags: - v* paths: - ".github/workflows/merge-main-into-compat.yml" jobs: refresh-compat: runs-on: ubuntu-latest permissions: contents: write steps: - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Configure git user run: | git config user.name "github-actions[bot]" git config user.email "github-actions[bot]@users.noreply.github.com" - name: Refresh compat with single patch commit run: | ./scripts/refresh-compat.sh - name: Push compat run: | git push origin compat --force