-
Notifications
You must be signed in to change notification settings - Fork 0
51 lines (44 loc) · 1.4 KB
/
validate-project-fields.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
50
51
name: Validate Project Fields
on:
pull_request:
types:
- opened
- edited
- synchronize
- reopened
- unassigned
permissions:
contents: write
pull-requests: write
id-token: write
repository-projects: write
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true
env:
AWS_REGION: eu-central-1
AWS_ROLE_ARN: arn:aws:iam::332405224602:role/ci
EARTHLY_TARGET: docker
ECR_REGISTRY: 332405224602.dkr.ecr.eu-central-1.amazonaws.com
jobs:
validate-project-fields:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup CI
uses: input-output-hk/catalyst-ci/actions/setup@master
with:
aws_role_arn: ${{ env.AWS_ROLE_ARN }}
aws_region: ${{ env.AWS_REGION }}
earthly_runner_secret: ${{ secrets.EARTHLY_RUNNER_SECRET }}
- name: Run Project Fields Validation
uses: input-output-hk/catalyst-ci/actions/run@master
if: always()
continue-on-error: false
with:
earthfile: ./utilities/project-fields-validator
flags: --allow-privileged
targets: validate-project-fields
target_flags: --GITHUB_REPOSITORY="${{ github.repository }}" --GITHUB_EVENT_NUMBER="${{ github.event.number || '0' }}"
runner_address: ${{ secrets.EARTHLY_SATELLITE_ADDRESS }}
artifact: false