Skip to content

Commit 09d9cf3

Browse files
committed
Configure Digitransit CI actions
1 parent 8da27c4 commit 09d9cf3

File tree

13 files changed

+232
-507
lines changed

13 files changed

+232
-507
lines changed

.github/CODEOWNERS

Lines changed: 0 additions & 9 deletions
This file was deleted.

.github/pull_request_template.md

Lines changed: 0 additions & 70 deletions
This file was deleted.

.github/workflows/cibuild.yml

Lines changed: 0 additions & 233 deletions
This file was deleted.

.github/workflows/close_stale_pr_and_issues.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ jobs:
1313
if: github.repository_owner == 'opentripplanner'
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/stale@v6.0.1
16+
- uses: actions/stale@v5.0.0
1717
id: stale
1818
with:
1919
stale-issue-message: 'This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 30 days'
2020
days-before-stale: 90
2121
days-before-close: 30
22-
operations-per-run: 260
22+
operations-per-run: 180
2323
exempt-issue-labels: 'Roadmap'
2424
ascending: true

.github/workflows/dev-pipeline.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Process dev-2.x push or pr
2+
on:
3+
push:
4+
branches:
5+
- dev-2.x
6+
pull_request:
7+
branches:
8+
- dev-2.x
9+
jobs:
10+
docker-push:
11+
if: github.ref == 'refs/heads/dev-2.x'
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v3
16+
- name: Build docker image from dev-2.x and push it
17+
run: ./.github/workflows/scripts/build_and_push_dev.sh
18+
env:
19+
DOCKER_USER: ${{ secrets.DOCKER_USER }}
20+
DOCKER_AUTH: ${{ secrets.DOCKER_AUTH }}

0 commit comments

Comments
 (0)