-
Notifications
You must be signed in to change notification settings - Fork 0
50 lines (47 loc) · 1.55 KB
/
Copy pathpull-request.yaml
File metadata and controls
50 lines (47 loc) · 1.55 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
48
49
50
name: Pull Request - Get timestamp
on:
pull_request:
types: [synchronize, ready_for_review, opened]
branches:
- main
# *NOTE* MUST MATCH ./pull-request-ignore.yaml .on.pull_request.paths
paths-ignore:
- 'benchmarks/**'
- 'docs/**'
- 'README.md'
- '.github/release.yaml'
- '.github/workflows/ondemand-cleanup.yaml'
- '.github/workflows/build.yaml'
- '.github/workflows/kpp-e2e-pytest.yaml'
- '.github/workflows/kpp-ephemeral-nightly-mgmt-cluster-test.yaml'
- '.github/workflows/pull-request-ignore.yaml'
- '.github/workflows/release-**'
- '.github/workflows/sonobuoy**'
- '.github/workflows/kpp-testing**'
- 'scripts/requirements.txt'
- 'scripts/wipe_account.py'
- 'scripts/loop-add.sh'
- 'scripts/app-cluster-tool.py'
- 'scripts/.s3cfg'
- 'bootstrap/Pulumi.*.yaml'
- 'testing/**'
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
env:
COMMIT_SHA: ${{ github.event.pull_request.head.sha }}
BRANCH: ${{ github.head_ref || github.ref_name }}
B64_GITOPS_SSH_PRIVATE_KEY: ${{ secrets.B64_GITOPS_SSH_PRIVATE_KEY }}
LINODE_API_TOKEN: ${{ secrets.DEV_LINODE_API_TOKEN }}
LINODE_API_VERSION: v4beta
PULUMI_CONFIG_PASSPHRASE: ""
PULUMI_VERSION: "3.66.0"
REGION: "us-ord"
jobs:
current_ts:
runs-on: ubuntu-latest
outputs:
current_ts: ${{ steps.set_current_ts.outputs.current_ts }}
steps:
- id: set_current_ts
run: echo "::set-output name=current_ts::gha$(date +%s)"