Skip to content

Commit d5fcac9

Browse files
author
Marcos Cela
authored
Merge pull request #1 from hub4j/master
Update base
2 parents 99e3265 + 92fdac4 commit d5fcac9

File tree

5,266 files changed

+415024
-335501
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

5,266 files changed

+415024
-335501
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,10 @@ We love getting PRs, but we hate asking people for the same basic changes every
77
- [ ] Push your changes to a branch other than `master`. Create your PR from that branch.
88
- [ ] Add JavaDocs and other comments
99
- [ ] Write tests that run and pass in CI. See [CONTRIBUTING.md](CONTRIBUTING.md) for details on how to capture snapshot data.
10-
- [ ] Run `mvn -P ci install site` locally. This may reformat your code, commit those changes. If this command doesn't succeed, your change will not pass CI.
10+
- [ ] Run `mvn clean compile` locally. This may reformat your code, commit those changes.
11+
- [ ] Run `mvn -D enable-ci clean install site` locally. If this command doesn't succeed, your change will not pass CI.
12+
13+
# When creating a PR:
14+
15+
- [ ] Fill in the "Description" above.
16+
- [ ] Enable "Allow edits from maintainers".

.github/dependabot.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "maven"
4+
directory: "/"
5+
schedule:
6+
interval: "daily"
7+
time: "02:00"
8+
- package-ecosystem: "github-actions"
9+
directory: "/"
10+
schedule:
11+
interval: "daily"
12+
time: "02:00"

.github/release-drafter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name-template: 'v$NEXT_PATCH_VERSION 🌈'
2-
tag-template: 'v$NEXT_PATCH_VERSION'
2+
tag-template: 'github-api-$NEXT_MINOR_VERSION'
33
categories:
44
- title: '🚀 Features'
55
labels:

.github/workflows/maven-build.yml

Lines changed: 57 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,72 @@
1-
name: Java CI Build and Test
1+
name: CI
22

33
on: [push, pull_request]
44

55

66
jobs:
77
build:
8-
8+
name: build-only (Java ${{ matrix.java }})
9+
runs-on: ubuntu-latest
10+
strategy:
11+
matrix:
12+
java: [ 13 ]
13+
steps:
14+
- uses: actions/checkout@v2
15+
- name: Set up JDK
16+
uses: actions/setup-java@v1
17+
with:
18+
java-version: ${{ matrix.java }}
19+
- name: Cached .m2
20+
uses: actions/cache@v2
21+
with:
22+
path: ~/.m2/repository
23+
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
24+
restore-keys: |
25+
${{ runner.os }}-maven-
26+
- name: Maven Install (skipTests)
27+
run: mvn -B install -DskipTests -D enable-ci --file pom.xml
28+
site:
29+
name: site (Java ${{ matrix.java }})
930
runs-on: ubuntu-latest
1031
strategy:
1132
matrix:
12-
java: [ '1.8.0', '11.0.x', '13.0.x' ]
33+
java: [ 8, 11 ]
34+
steps:
35+
- uses: actions/checkout@v2
36+
- name: Set up JDK
37+
uses: actions/setup-java@v1
38+
with:
39+
java-version: ${{ matrix.java }}
40+
- uses: actions/cache@v2
41+
with:
42+
path: ~/.m2/repository
43+
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
44+
restore-keys: |
45+
${{ runner.os }}-maven-
46+
- name: Maven Site
47+
run: mvn -B site -D enable-ci --file pom.xml
48+
test:
49+
name: test (${{ matrix.os }}, Java ${{ matrix.java }})
50+
runs-on: ${{ matrix.os }}-latest
51+
strategy:
52+
matrix:
53+
os: [ ubuntu, windows ]
54+
java: [ 8, 11, 13, 15-ea ]
1355
steps:
1456
- uses: actions/checkout@v2
1557
- name: Set up JDK
1658
uses: actions/setup-java@v1
1759
with:
1860
java-version: ${{ matrix.java }}
19-
- name: Maven Download all dependencies
20-
run: mvn -B org.apache.maven.plugins:maven-dependency-plugin:3.1.1:go-offline -P ci
21-
- name: Maven Build
22-
run: mvn -B install site -P ci --file pom.xml
61+
- uses: actions/cache@v2
62+
with:
63+
path: ~/.m2/repository
64+
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
65+
restore-keys: |
66+
${{ runner.os }}-maven-
67+
- name: Maven Install without Code Coverage
68+
if: matrix.os == 'windows'
69+
run: mvn -B install --file pom.xml
70+
- name: Maven Install with Code Coverage
71+
if: matrix.os != 'windows'
72+
run: mvn -B install -D enable-ci --file pom.xml

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,5 @@ target
99
.DS_Store
1010

1111
dependency-reduced-pom.xml
12+
.factorypath
13+
.vscode/settings.json

CHANGELOG.md

Lines changed: 672 additions & 672 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
# Java API for GitHub
22

33
[![Sonatype Nexus (Releases)](https://img.shields.io/nexus/r/org.kohsuke/github-api?server=https%3A%2F%2Foss.sonatype.org)](https://mvnrepository.com/artifact/org.kohsuke/github-api)
4-
[![Join the chat at https://gitter.im/github-api/github-api](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/github-api/github-api?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
4+
[![Join the chat at https://gitter.im/hub4j/github-api](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/hub4j/github-api?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
5+
![CI](https://github.com/hub4j/github-api/workflows/CI/badge.svg?branch=master)
6+
57

68

79
See https://github-api.kohsuke.org/ for more details

0 commit comments

Comments
 (0)