Skip to content

fm-command

fm-command #107

Workflow file for this run

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: "Update: Update Feature Flags"
if: github.event.client_payload.slash_command.args.unnamed.arg1 == 'sync'
uses: ./.github/workflows/follow-merge-upstream-repo-sync-v2.yml

Check failure on line 14 in .github/workflows/fm-command.yml

View workflow run for this annotation

GitHub Actions / /fm command

Invalid workflow file

The workflow is not valid. In .github/workflows/fm-command.yml (Line: 14, Col: 11): Error from called workflow HumanSignal/label-studio/.github/workflows/follow-merge-upstream-repo-sync-v2.yml@bc0fcb0ce8f7971af2cce683ebd13384e8401f67 (Line: 19, Col: 3): Unexpected value 'POETRY_VERSION'
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@v4
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