-
-
Notifications
You must be signed in to change notification settings - Fork 0
27 lines (22 loc) · 914 Bytes
/
sync-client.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
name: sync-client
on:
push:
branches: [main]
jobs:
sync-client:
runs-on: ubuntu-latest
steps:
- name: Set up checkout
uses: actions/checkout@v4
- name: Set up SHA
run: echo "SHORT_SHA=${GITHUB_SHA:0:7}" >> $GITHUB_ENV
- name: Sync
uses: BetaHuhn/repo-file-sync-action@v1
with:
GH_PAT: ${{ secrets.GH_PAT }}
CONFIG_PATH: .github/${{ github.workflow }}.yml
PR_LABELS: ${{ github.workflow }}
ASSIGNEES: ${{ github.repository_owner }}
COMMIT_PREFIX: ${{ github.workflow }}${{':'}}
PR_BODY: check out [`${{ env.SHORT_SHA }}`](https://github.com/${{ github.repository }}/commit/${{ github.sha }}) @${{ github.repository_owner }} :hatching_chick:.
# See https://docs.github.com/ko/actions/writing-workflows/choosing-what-your-workflow-does/contexts#github-context for more detailed context