/
vshmidt
/
label-studio
Обзор
Документация
Войти
/
vshmidt
/
label-studio
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
develop
.github/workflows/fm-command.yml
34 строки
1 KB
dependabot[bot]
ci: bump peter-evans/create-or-update-comment from 4 to 5 (#8594)
17 окт 2025, 15:19
Не верифицирован
17 окт 2025, 15:19
d41d67c
Код
Авторство
О чём код?
name: "/fm command" on: repository_dispatch: types: [ fm-command ] concurrency: group: ${{ github.workflow }}-${{ github.event.client_payload.github.payload.issue.number }}-${{ github.event.client_payload.slash_command.command }}-${{ github.event.client_payload.slash_command.args.unnamed.arg1 || github.event.client_payload.slash_command.args.all }} jobs: sync: name: "Follow Merge: Sync Upstream PRs" if: github.event.client_payload.slash_command.args.unnamed.arg1 == 'sync' uses: ./.github/workflows/follow-merge-upstream-repo-sync-v2.yml with: branch_name: ${{ github.event.client_payload.slash_command.args.unnamed.arg2 || github.event.client_payload.pull_request.head.ref }} secrets: inherit help: if: ${{ github.event.client_payload.slash_command.args.unnamed.arg1 == 'help' || !contains(fromJson('["sync"]'), github.event.client_payload.slash_command.args.unnamed.arg1) }} runs-on: ubuntu-latest timeout-minutes: 1 steps: - name: Update comment uses: peter-evans/create-or-update-comment@v5 with: token: ${{ secrets.GIT_PAT }} repository: ${{ github.event.client_payload.github.payload.repository.full_name }} comment-id: ${{ github.event.client_payload.github.payload.comment.id }} body: | > Command | Description > --- | --- > /fm sync <Optional branch override> | Sync upstream prs and merge with pull request base reactions: hooray