forked from wildfly/wildfly
-
Notifications
You must be signed in to change notification settings - Fork 1
49 lines (47 loc) · 1.26 KB
/
cloud-test-pr-trigger.yml
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
48
49
name: Cloud Tests Trigger
on:
pull_request:
branches:
- main
paths-ignore:
- ".mvn/**"
- "docs/**"
- ".github/workflows/build-manual.yml"
- ".github/workflows/shared-wildfly-build.yml"
- '.gitattributes'
- '.gitignore'
- '.gitleaks.toml'
- 'build.bat'
- 'build.sh'
- "CODE_OF_CONDUCT.md"
- "CONTRIBUTING.md"
- "integration-tests.bat"
- "integration-tests.sh"
- "LICENSE.txt"
- "mvnw"
- "mvnw.cmd"
- "README.md"
- "SECURITY.md"
- "**/README.md"
- "**/README.adoc"
# Only run the latest job
concurrency:
group: '${{ github.workflow }} @ ${{ github.ref || github.run_id }}'
cancel-in-progress: true
permissions: {}
jobs:
trigger:
runs-on: ubuntu-latest
steps:
- name: Get pull request number
run: |
event_name="${{ github.event_name }}"
echo "PR_NUMBER=${{ github.event.number }}" >> .job-env
echo "GITHUB_SHA_FOR_PR=${{ github.sha }}" >> .job-env
echo "GITHUB_EVENT_PULL_REQUEST_HEAD_SHA=${{ github.event.pull_request.head.sha }}" >> .job-env
cat .job-env
- uses: actions/upload-artifact@v4
with:
name: .job-env
path: .job-env
include-hidden-files: true