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

feat: set Asana to milestone based on PR milestone #44

Merged
merged 27 commits into from
Sep 6, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
1837ef9
log (tbd)
federico-po Aug 17, 2022
7c16fcc
v4.2.1-draft1
federico-po Aug 17, 2022
9cf5f72
tbd2
federico-po Aug 17, 2022
79e635e
feat: link asana and gh milestones
federico-po Aug 22, 2022
4327e13
test: add tests
federico-po Aug 24, 2022
d7636f3
test: add tests for multiple tasks
federico-po Aug 24, 2022
6b8fbb9
fix: node versions
federico-po Aug 24, 2022
b24fbfb
fix: remove unmilestoned
federico-po Aug 24, 2022
7113822
fix: remove exodus/basic-utils dep
federico-po Aug 24, 2022
cbef573
fix: data completed
federico-po Aug 24, 2022
e0e7c1f
chore: bumo to 4.3.0
federico-po Aug 24, 2022
e4712ef
nit: fix template
federico-po Aug 24, 2022
a68f97c
feat: unassign milestone from tasks
federico-po Aug 24, 2022
b4b17f2
fix: node version
federico-po Aug 24, 2022
d7ed50e
fix
federico-po Aug 24, 2022
46f3eb2
fix: handle empty milestone
federico-po Aug 24, 2022
2383772
test
federico-po Aug 24, 2022
26c1168
chore
federico-po Aug 24, 2022
2f1cf2b
fix: mobile regex
federico-po Aug 24, 2022
8d7ec84
bumo to 4.3.1
federico-po Aug 24, 2022
168c25d
fix: remove timeout for concurrency
federico-po Aug 25, 2022
bd11877
chore: add concurrency
federico-po Aug 26, 2022
6ae35db
fix: check milestone exists
federico-po Sep 5, 2022
d58354c
build: move code into src, add ncc build and test against Asana board…
dooglio Sep 5, 2022
16550e8
build: run code from future tag 4.3.0
dooglio Sep 5, 2022
a530ae1
build: align with what is in package.json
dooglio Sep 5, 2022
5881e17
build: add tag to previous commit.
dooglio Sep 5, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 3 additions & 2 deletions .github/workflows/asana-link.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@ on:
issues:
types: [opened, closed, edited]
pull_request:
types: [opened, closed, edited]
types: [opened, closed, edited, milestoned, demilestoned]
dooglio marked this conversation as resolved.
Show resolved Hide resolved
concurrency: ci-${{ github.repository }}
jobs:
asana:
runs-on: ubuntu-latest
steps:
- name: Asana Github Link
uses: ExodusMovement/asana-actions@4.2.0
uses: ExodusMovement/asana-actions@4.4.0-draft_1
with:
asana_token: ${{ secrets.ASANA_TOKEN }}
workspace: ${{ secrets.ASANA_WORKSPACE_ID }}
Expand Down
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

yarn build && git add dist/index.js
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
16
5 changes: 3 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,6 @@ branding:
icon: 'chevron-right'
color: 'gray-dark'
runs:
using: 'node12'
main: 'index.js'
using: 'node16'
main: 'dist/index.js'

7 changes: 7 additions & 0 deletions dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const core = require('@actions/core')
const github = require('@actions/github')
const asanaActionsWorkflow = require('./asana-actions-workflow')
const asanaActionsWorkflow = require('./src/asana-actions-workflow')

const run = async () => {
try {
Expand Down
450 changes: 0 additions & 450 deletions node_modules/.yarn-integrity

This file was deleted.

9 changes: 0 additions & 9 deletions node_modules/@actions/core/LICENSE.md

This file was deleted.

202 changes: 0 additions & 202 deletions node_modules/@actions/core/README.md

This file was deleted.

16 changes: 0 additions & 16 deletions node_modules/@actions/core/lib/command.d.ts

This file was deleted.

79 changes: 0 additions & 79 deletions node_modules/@actions/core/lib/command.js

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/@actions/core/lib/command.js.map

This file was deleted.

Loading