mirror of
https://github.com/yusing/godoxy.git
synced 2026-03-21 08:39:03 +01:00
29 lines
681 B
YAML
29 lines
681 B
YAML
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
|