Skip to content

Commit

Permalink
Updated CI in line with 0e6c9b6
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeGat committed Jun 19, 2024
1 parent 14911a5 commit ee2a40d
Show file tree
Hide file tree
Showing 5 changed files with 51 additions and 217 deletions.
25 changes: 0 additions & 25 deletions .github/workflows/call-pr-1-ci.yml

This file was deleted.

19 changes: 0 additions & 19 deletions .github/workflows/call-pr-3-bump-tag.yml

This file was deleted.

51 changes: 51 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: CI
run-name: CI (${{ github.event_name }}) for ${{ github.ref_name }}
on:
pull_request:
branches:
- 'release-*'
- 'dev-*'
paths-ignore:
# These are ignored because they don't have anything to do with the model itself
- .github/**
- tools/**
- doc/**
- config/**
- .*
- README.md
push:
branches:
- 'release-*'
paths:
- 'metadata.yaml'
issue_comment:
types:
- created
- edited
jobs:
pr:
name: PR
if: github.event_name == 'pull_request'
uses: access-nri/model-config-tests/.github/workflows/config-pr-1-ci.yml@main
secrets: inherit
permissions:
contents: write
pull-requests: write # For pull request comments denoting failure of the workflow
checks: write

pr-comment:
name: Comment
if: github.event_name == 'issue_comment'
uses: access-nri/model-config-tests/.github/workflows/config-pr-2-confirm.yml@main
secrets: inherit
permissions:
contents: write # For updating metadata.yaml version and committing checksums
pull-requests: write # For commenting on PR

bump-tag:
name: Tag Bump
if: github.event_name == 'push'
uses: access-nri/model-config-tests/.github/workflows/config-pr-3-bump-tag.yml@main
secrets: inherit
permissions:
contents: write # For creating a new release
160 changes: 0 additions & 160 deletions .github/workflows/pr-2-confirm.yml

This file was deleted.

13 changes: 0 additions & 13 deletions .github/workflows/validate-json.yml

This file was deleted.

0 comments on commit ee2a40d

Please sign in to comment.