-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (25 loc) · 728 Bytes
/
test.yml
File metadata and controls
30 lines (25 loc) · 728 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
name: "Verify DRY ticket"
on:
pull_request:
types:
- closed
branches:
- 'main'
jobs:
test:
if: github.event.pull_request.merged == true && (startsWith(github.head_ref, 'dry/') || contains(github.event.pull_request.title, 'DRY-'))
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 100
- name: Verify pr name
run: |
echo "${{ github.event.pull_request }}"
echo "${{ github.ref_name }}"
echo "${{ github.event.pusher.name }}"
echo "${{ github.event.pull_request.merged }}"
- name: Cat file content
run: |
cat .github/workflows/test.yml