-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into feat/add-chopper-requester-package
# Conflicts: # generators/src/main/java/com/algolia/codegen/AlgoliaDartGenerator.java
- Loading branch information
Showing
1,379 changed files
with
27,611 additions
and
13,030 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ runs: | |
# Java for code generation | ||
- name: Install Java | ||
if: inputs.type != 'minimal' | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].2 | ||
with: | ||
distribution: zulu | ||
java-version-file: config/.java-version | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,3 +53,5 @@ pubspec.lock | |
*.DotSettings.user | ||
|
||
swiftformat | ||
|
||
foo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
55 changes: 55 additions & 0 deletions
55
clients/algoliasearch-client-csharp/.github/workflows/issue.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
name: 'Issue sync with Jira' | ||
on: | ||
issues: | ||
types: [opened] | ||
|
||
permissions: | ||
issues: write | ||
contents: read | ||
|
||
jobs: | ||
sync: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Create ticket | ||
uses: actions/github-script@v7 | ||
with: | ||
script: | | ||
const action = context.payload.action; | ||
if (action !== 'opened') { | ||
return; | ||
} | ||
const title = context.payload.issue.title; | ||
const body = context.payload.issue.body; | ||
const res = await fetch('https://algolia.atlassian.net/rest/api/2/issue', { | ||
method: 'POST', | ||
headers: { | ||
'Accept': 'application/json', | ||
'Content-Type': 'application/json', | ||
'Authorization': `Basic ${{ secrets.JIRA_TOKEN }}` | ||
}, | ||
body: JSON.stringify({ | ||
fields: { | ||
description: `Issue created by ${context.actor} at [${context.payload.issue.html_url}](${context.payload.issue.html_url}) \n\n${body}`, | ||
issuetype: { | ||
id: '10001' | ||
}, | ||
parent: { | ||
key: 'DI-2737' | ||
}, | ||
project: { | ||
id: '10118' | ||
}, | ||
summary: `[GH-ISSUE] ${title}` | ||
}, | ||
update: {} | ||
}) | ||
}); | ||
if (!res.ok) { | ||
throw new Error(`Failed to create ticket: ${res.statusText} (${res.status}) - ${await res.text()}`); | ||
} | ||
const data = await res.json(); | ||
console.log(`Created ticket: ${data.key}`); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ name: Release packages | |
on: | ||
push: | ||
branches: | ||
- next | ||
- main | ||
|
||
jobs: | ||
release: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.