-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (43 loc) · 1.13 KB
/
tests-command.yml
File metadata and controls
47 lines (43 loc) · 1.13 KB
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: Test Action
on:
pull_request:
types: [ready_for_review]
workflow_dispatch:
inputs:
# The following 4 inputs are always passed by the Slash Command Dispatch:
repo:
description: Repo Name. Ignored.
type: choice
required: false
default: airbytehq/airbyte-enterprise
options:
- airbytehq/airbyte-enterprise
gitref:
description: Git Ref. Ignored.
required: false
comment-id:
description: Comment ID. Optional.
required: false
pr:
description: PR Number.
type: number
required: false
permissions:
contents: write
pull-requests: write
issues: write
jobs:
run-format-fix:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Run `poe test` [Poe Command Processor]
uses: ./
with:
pr: ${{ github.event.inputs.pr || github.event.pull_request.number }}
comment-id: ${{ github.event.inputs.comment-id }}
github-token: ${{ github.token }}
command: test