Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: test #6

Merged
merged 68 commits into from
Feb 12, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
68 commits
Select commit Hold shift + click to select a range
8c7ba7c
chore: test
Feb 6, 2022
6909742
build
Feb 6, 2022
8a5882e
test
Feb 6, 2022
13dc34c
test
Feb 6, 2022
fd77197
commits!
Feb 7, 2022
8f0b4f9
yeeap
Feb 7, 2022
61e4539
🤔
Feb 7, 2022
92a0dc0
🤔
Feb 7, 2022
3c7af7b
🤔
Feb 7, 2022
752c0af
🤔
Feb 7, 2022
8560d92
🤔
Feb 7, 2022
a112c1b
👍
Feb 7, 2022
d1d9ba6
👍
Feb 7, 2022
6c2cee7
👍
Feb 7, 2022
a5341a0
👍
Feb 7, 2022
4276503
👍
Feb 7, 2022
ebb3bd1
👍
Feb 7, 2022
ab52ab4
👍
Feb 7, 2022
c56faff
👍
Feb 7, 2022
ac93283
👍
Feb 7, 2022
a6ebb96
👍
Feb 7, 2022
f80b668
👍
Feb 7, 2022
9227b41
👍
Feb 7, 2022
f9f43fe
👍
Feb 7, 2022
db646c8
👍
Feb 7, 2022
3e45771
👍
Feb 7, 2022
6b75bfa
👍
Feb 7, 2022
389d888
👍
Feb 7, 2022
46550cb
👍
Feb 7, 2022
d9e587b
👍
Feb 7, 2022
8dd4ee6
👍
Feb 7, 2022
994d0f7
👍
Feb 7, 2022
b2d8a70
👍
Feb 7, 2022
68542a4
👍
Feb 7, 2022
0aa1d29
👍
Feb 7, 2022
1394b20
:)
Feb 7, 2022
62522ce
:)
Feb 7, 2022
f430ea4
:)
Feb 11, 2022
ea6eb1b
:)
Feb 11, 2022
738e54a
:)
Feb 11, 2022
6ca9af4
:)
Feb 11, 2022
85003bc
:)
Feb 11, 2022
0d068cc
:)
Feb 11, 2022
7b72581
:)
Feb 11, 2022
3631f35
:)
Feb 11, 2022
6e04cc3
:)
Feb 11, 2022
3ba1eba
:)
Feb 11, 2022
52fb398
:)
Feb 11, 2022
2ec9ebd
:)
Feb 11, 2022
da00158
:)
Feb 11, 2022
4709cae
build
Feb 11, 2022
2839ffb
:)
Feb 11, 2022
745b037
build
Feb 11, 2022
a023c00
:)
Feb 11, 2022
30c6e9e
build
Feb 11, 2022
edd5bf1
:)
Feb 11, 2022
1ff87ff
:)
Feb 11, 2022
e778fdb
build
Feb 11, 2022
a0aa5c5
:)
Feb 11, 2022
545bbf5
:)
Feb 12, 2022
e40314f
:)
Feb 12, 2022
74decee
:)
Feb 12, 2022
2a77a2d
JIRA-123 [actions skip]
therynamo Feb 12, 2022
57faded
JIRA-124 [actions skip]
therynamo Feb 12, 2022
4b2917d
JIRA-111 [actions skip]
therynamo Feb 12, 2022
d8a0826
JIRA-333 [actions skip]
therynamo Feb 12, 2022
ce712ec
JIRA-929 [actions skip]
therynamo Feb 12, 2022
85f9f83
JIRA-1
therynamo Feb 12, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@
"eslint-comments/no-use": "off",
"import/no-namespace": "off",
"no-unused-vars": "off",
"no-console": "off",
"@typescript-eslint/no-unused-vars": "error",
"@typescript-eslint/explicit-member-accessibility": ["error", {"accessibility": "no-public"}],
"@typescript-eslint/explicit-member-accessibility": ["error", { "accessibility": "no-public" }],
"@typescript-eslint/no-require-imports": "error",
"@typescript-eslint/array-type": "error",
"@typescript-eslint/await-thenable": "error",
"@typescript-eslint/ban-ts-comment": "error",
"camelcase": "off",
"@typescript-eslint/consistent-type-assertions": "error",
"@typescript-eslint/explicit-function-return-type": ["error", {"allowExpressions": true}],
"@typescript-eslint/func-call-spacing": ["error", "never"],
"@typescript-eslint/no-array-constructor": "error",
"@typescript-eslint/no-empty-interface": "error",
Expand All @@ -43,7 +43,7 @@
"@typescript-eslint/require-array-sort-compare": "error",
"@typescript-eslint/restrict-plus-operands": "error",
"semi": "off",
"prettier/prettier": ["error", {"semi": true}],
"prettier/prettier": ["error", { "semi": true, "bracketSpacing": true, "printWidth": 150, "trailingComma": "all", "arrowParens": "always" }],
"@typescript-eslint/semi": ["error"],
"@typescript-eslint/type-annotation-spacing": "error",
"@typescript-eslint/unbound-method": "error"
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,11 @@ jobs:
yarn install
- run: |
yarn run all
test: # make sure the action works on a clean machine without building
smoke-test: # make sure the action works on a clean machine without building
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ./
with:
milliseconds: 1000
jira_host: https://jira.mycompany.com
github_token: ${{secrets.GH_TOKEN}}
2 changes: 1 addition & 1 deletion .prettierrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
"semi": true,
"singleQuote": true,
"trailingComma": "all",
"bracketSpacing": false
"bracketSpacing": true
}
29 changes: 0 additions & 29 deletions __tests__/main.test.ts

This file was deleted.

23 changes: 18 additions & 5 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,24 @@
name: 'Jira Telegram'
description: 'Link Jira tickets without compromising Pull Request Titles.'
author: 'therynamo'
# inputs:
# milliseconds: # change this
# required: true
# description: 'input description here'
# default: 'default value if applicable'
inputs:
github_token:
required: true
description: 'Authorized github token to read and write to pull requests'
jira_host:
required: true
description: "Hostname for where your team's Jira instance is hosted"
default: 'https://jira.mycompany.com'
project_keys:
required: false
description: "A comma separated list of project keys to be matched on in a pull request body. (E.g. https://jira.mycompany.com/browse/PROJ-123 - you'd list PROJ in this string"
ignored_project_keys:
required: false
description: "A comma separated list of project keys to not be matched on in a pull request body. (E.g. https://jira.mycompany.com/browse/PROJ-123 - you'd list PROJ in this string"
first_ticket_only:
required: false
description: 'When true - only the first Jira ticket found will be committed to the Pull Request'

runs:
using: 'node12'
main: 'dist/index.js'
Loading