-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathaction.yml
More file actions
32 lines (28 loc) · 845 Bytes
/
action.yml
File metadata and controls
32 lines (28 loc) · 845 Bytes
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
name: Start CI Build
description: Start CI Build
inputs:
github-token:
description: 'Github token used to create PR comments'
required: true
ci-project:
description: 'Name of the CI project to track in LocalStack Cloud'
required: false
runs:
using: composite
steps:
- name: Save PR number
shell: bash
run: echo ${{ github.event.number }} > ./pr-id.txt
- name: Upload PR number
uses: actions/upload-artifact@v4
with:
name: pr-id
path: ./pr-id.txt
- name: Create initial PR comment
uses: actions-cool/maintain-one-comment@v3.1.1
with:
token: ${{ inputs.github-token }}
body: |
⚡️ Running CI build with LocalStack ...
<!-- Sticky Pull Request Comment -->
body-include: '<!-- Sticky Pull Request Comment -->'