Skip to content

Commit c9c34ee

Browse files
committed
Updated CI in line with 0e6c9b6
1 parent 0ef0ead commit c9c34ee

File tree

5 files changed

+51
-218
lines changed

5 files changed

+51
-218
lines changed

Diff for: .github/workflows/call-pr-1-ci.yml

-26
This file was deleted.

Diff for: .github/workflows/call-pr-3-bump-tag.yml

-19
This file was deleted.

Diff for: .github/workflows/ci.yml

+51
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
name: CI
2+
run-name: CI (${{ github.event_name }}) for ${{ github.ref_name }}
3+
on:
4+
pull_request:
5+
branches:
6+
- 'release-*'
7+
- 'dev-*'
8+
paths-ignore:
9+
# These are ignored because they don't have anything to do with the model itself
10+
- .github/**
11+
- tools/**
12+
- doc/**
13+
- config/**
14+
- .*
15+
- README.md
16+
push:
17+
branches:
18+
- 'release-*'
19+
paths:
20+
- 'metadata.yaml'
21+
issue_comment:
22+
types:
23+
- created
24+
- edited
25+
jobs:
26+
pr:
27+
name: PR
28+
if: github.event_name == 'pull_request'
29+
uses: access-nri/model-config-tests/.github/workflows/config-pr-1-ci.yml@main
30+
secrets: inherit
31+
permissions:
32+
contents: write
33+
pull-requests: write # For pull request comments denoting failure of the workflow
34+
checks: write
35+
36+
pr-comment:
37+
name: Comment
38+
if: github.event_name == 'issue_comment'
39+
uses: access-nri/model-config-tests/.github/workflows/config-pr-2-confirm.yml@main
40+
secrets: inherit
41+
permissions:
42+
contents: write # For updating metadata.yaml version and committing checksums
43+
pull-requests: write # For commenting on PR
44+
45+
bump-tag:
46+
name: Tag Bump
47+
if: github.event_name == 'push'
48+
uses: access-nri/model-config-tests/.github/workflows/config-pr-3-bump-tag.yml@main
49+
secrets: inherit
50+
permissions:
51+
contents: write # For creating a new release

Diff for: .github/workflows/pr-2-confirm.yml

-160
This file was deleted.

Diff for: .github/workflows/validate-json.yml

-13
This file was deleted.

0 commit comments

Comments
 (0)