-
-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (34 loc) · 872 Bytes
/
test_suite.yaml
File metadata and controls
41 lines (34 loc) · 872 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
33
34
35
36
37
38
39
40
41
---
name: Tests
on:
issue_comment:
merge_group:
pull_request:
push:
workflow_dispatch:
permissions:
contents: read
jobs:
tests:
runs-on: ubuntu-24.04
steps:
- name: Echo context
env:
GH_JSON: ${{ toJson(github) }}
run: |
echo "GITHUB_SHA $GITHUB_SHA"
echo "GITHUB_REF $GITHUB_REF"
echo "GITHUB_REF_NAME $GITHUB_REF_NAME"
echo "$GH_JSON"
- name: Checkout action
uses: actions/checkout@v4
with:
persist-credentials: false
sparse-checkout: action.yml
- name: PR data
id: pr
uses: ./
- name: Echo data
run: |
echo Number "${{ steps.pr.outputs.number }}" from "${{ github.event_name }} event."
echo Branch "${{ steps.pr.outputs.branch }}" from "${{ github.event_name }} event."