Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: XeroAPI/Xero-Java
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 3.5.2
Choose a base ref
...
head repository: XeroAPI/Xero-Java
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Loading
Showing 686 changed files with 325,630 additions and 34,889 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/build-lint-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Java Build, Lint and Test

on:
push:

jobs:
build-test-lint:
runs-on: ubuntu-latest

steps:
- name: Checkout Xero-Java repo
uses: actions/checkout@v4
with:
repository: XeroAPI/Xero-Java
path: Xero-Java

- name: Set up JDK environment
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '11'
cache: maven

- name: Import GPG Key
run: |
echo "${{ secrets.GPG_PRIVATE_KEY }}" | gpg --batch --import
env:
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY}}

- name: Build and test post generation
run: |
export GPG_TTY=$(tty)
mvn clean verify -DskipTests=true -Dgpg.passphrase=${{ secrets.GPG_PASSPHRASE }}
working-directory: Xero-Java
11 changes: 11 additions & 0 deletions .github/workflows/jira_create_issue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Create Issue in Jira

on:
issues:
types:
- opened

jobs:
create_jira_issue:
uses: XeroAPI/Xero-OpenAPI/.github/workflows/jira_create_issue.yml@master
secrets: inherit
11 changes: 11 additions & 0 deletions .github/workflows/jira_update_issue_closed.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Update Jira Ticket Status To Done

on:
issues:
types:
- closed

jobs:
create_jira_issue:
uses: XeroAPI/Xero-OpenAPI/.github/workflows/jira_update_issue_closed.yml@master
secrets: inherit
11 changes: 11 additions & 0 deletions .github/workflows/jira_update_issue_reopen.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Update Jira Ticket Status To Backlog

on:
issues:
types:
- reopened

jobs:
create_jira_issue:
uses: XeroAPI/Xero-OpenAPI/.github/workflows/jira_update_issue_reopen.yml@master
secrets: inherit
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -139,3 +139,6 @@ dist/
nbdist/
.nb-gradle/
*.log
.build_notes.md

.vscode
Loading