Skip to content

Commit

Permalink
ARC-1820 transfer ownership (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
mboudreau authored Nov 18, 2022
1 parent 25176f0 commit 7d9cbdf
Show file tree
Hide file tree
Showing 15 changed files with 35,768 additions and 6,053 deletions.
16 changes: 16 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
root = true

[*]
charset = utf-8
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true

[*.md]
insert_final_newline = false
trim_trailing_whitespace = false

[*.{js,jsx,json,ts,tsx,yml}]
indent_size = 2
indent_style = tab
tab_width = 2
12 changes: 6 additions & 6 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"extends": "@atlassian-partner-engineering",
"rules": {
"no-plusplus": "off"
}
}
"extends": [
"eslint:recommended"
],
"rules": {
}
}
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @atlassian/fusion-arc
11 changes: 11 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
**What's in this PR?**

**Why**

**Affected issues**
_Jira Issues_

**How has this been tested?**
_Include how to test if applicable_

**Whats Next?**
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
on:
push
on: push

name: Test Find Issue Key

Expand Down Expand Up @@ -27,12 +26,16 @@ jobs:
id: find
uses: ./
with:
string: Search is performed in this string. GA-250 will be found
string: Search is performed in this string. FIND-1 will be found

- name: Find Issue Key
uses: ./
with:
string: ${{ github.event.ref }} will search in branch name

- name: should skip if working, or else error out
if: ${{ steps.find.outputs.issue == '' }}
run: echo "Issue not found" && exit 1

- name: Find issue info
run: echo "Issue ${{ steps.find.outputs.issue }} was found"
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

yarn precommit
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Jira Find Issue Key
Extract issue key from string

For examples on how to use this, check out the [gajira-demo](https://github.com/atlassian/gajira-demo) repository
> ##### Only supports Jira Cloud. Does not support Jira Server (hosted)
## Usage
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ outputs:
issue:
description: Key of the found issue
runs:
using: 'node12'
using: 'node16'
main: './dist/index.js'
32,560 changes: 32,559 additions & 1 deletion dist/index.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/index.js.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/sourcemap-register.js

Large diffs are not rendered by default.

15 changes: 15 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
module.exports = {
"testPathIgnorePatterns": [
"/helpers/",
"/node_modules/"
],
"coveragePathIgnorePatterns": [
"/node_modules/"
],
"coverageReporters": [
"lcov",
"text",
"clover"
],
"coverageDirectory": "../test-results"
}
Loading

0 comments on commit 7d9cbdf

Please sign in to comment.