Skip to content

Commit df4b6dd

Browse files
committed
Update CI
1 parent 02a1be4 commit df4b6dd

File tree

3 files changed

+44
-5
lines changed

3 files changed

+44
-5
lines changed

.github/workflows/enforce-labels.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,25 @@ jobs:
88
require-label:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: mheap/github-action-required-labels@v2
11+
- uses: mheap/github-action-required-labels@v5
1212
env:
1313
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1414
with:
1515
mode: minimum
1616
count: 1
17-
labels: "0 diff,0 diff trivial,Non 0-diff,0 diff structural,0-diff trivial,Not 0-diff,0-diff,automatic,0-diff uncoupled"
17+
labels: "0 diff,0 diff trivial,Non 0-diff,0 diff structural,0-diff trivial,Not 0-diff,0-diff,automatic,0-diff uncoupled,github_actions"
1818
add_comment: true
19+
message: "This PR is being prevented from merging because you have not added one of our required labels: {{ provided }}. Please add one so that the PR can be merged."
20+
1921
blocking-label:
2022
runs-on: ubuntu-latest
2123
steps:
22-
- uses: mheap/github-action-required-labels@v2
24+
- uses: mheap/github-action-required-labels@v5
2325
env:
2426
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2527
with:
2628
mode: exactly
2729
count: 0
2830
labels: "Contingent - DNA,Needs Lead Approval,Contingent -- Do Not Approve"
2931
add_comment: true
32+
message: "This PR is being prevented from merging because you have added one of our blocking labels: {{ provided }}. You'll need to remove it before this PR can be merged."

.github/workflows/push-to-develop.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Checkout repo
14-
uses: actions/checkout@v2
14+
uses: actions/checkout@v5
1515
with:
1616
fetch-depth: 0
1717
- name: Run the action
18-
uses: devops-infra/action-pull-request@v0.4
18+
uses: devops-infra/action-pull-request@v0.5.5
1919
with:
2020
github_token: ${{ secrets.GITHUB_TOKEN }}
2121
source_branch: develop

.github/workflows/workflow.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Build Tests
2+
3+
on:
4+
pull_request:
5+
types: [opened, synchronize, reopened]
6+
# Do not run if the only files changed cannot affect the build
7+
paths-ignore:
8+
- "**.md"
9+
- "**.pro"
10+
- "**.sh"
11+
- "**.perl"
12+
- ".github/CODEOWNERS"
13+
14+
concurrency:
15+
group: ${{ github.workflow }}-${{ github.ref }}
16+
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
17+
18+
jobs:
19+
build_gcm:
20+
strategy:
21+
matrix:
22+
compiler: [ifort, gfortran-14, gfortran-15]
23+
build-type: [Debug]
24+
uses: GEOS-ESM/CI-workflows/.github/workflows/geosgcm_build_tests.yml@project/geosgcm
25+
with:
26+
compiler: ${{ matrix.compiler }}
27+
cmake-build-type: ${{ matrix.build-type }}
28+
fixture-repo: GEOS-ESM/GEOSgcm
29+
30+
spack_build:
31+
uses: GEOS-ESM/CI-workflows/.github/workflows/spack_gcc_build.yml@project/geosgcm
32+
secrets:
33+
BUILDCACHE_USERNAME: ${{ secrets.BUILDCACHE_USERNAME }}
34+
BUILDCACHE_TOKEN: ${{ secrets.BUILDCACHE_TOKEN }}
35+
with:
36+
fixture-repo: GEOS-ESM/GEOSgcm

0 commit comments

Comments
 (0)