vsoch
90f97d7ca1
last change to add example
...
Signed-off-by: vsoch <vsochat@stanford.edu >
2020-03-18 15:35:22 -06:00
vsoch
6795aa743d
fix trailing slash
...
Signed-off-by: vsoch <vsochat@stanford.edu >
2020-03-18 15:20:50 -06:00
vsoch
617744b952
fail no matter what
...
Signed-off-by: vsoch <vsochat@stanford.edu >
2020-03-18 14:52:58 -06:00
vsoch
906c9693bf
need to parse assignees
...
Signed-off-by: vsoch <vsochat@stanford.edu >
2020-03-18 14:43:26 -06:00
vsoch
37a2b85332
trying again
...
Signed-off-by: vsoch <vsochat@stanford.edu >
2020-03-18 14:38:47 -06:00
vsoch
8638d1b6f1
need to echo response
...
Signed-off-by: vsoch <vsochat@stanford.edu >
2020-03-18 14:35:59 -06:00
vsoch
09f5606222
update to use .number
...
Signed-off-by: vsoch <vsochat@stanford.edu >
2020-03-18 14:30:22 -06:00
vsoch
df89c5fb9e
update to use .number
...
Signed-off-by: vsoch <vsochat@stanford.edu >
2020-03-18 14:28:35 -06:00
vsoch
d0166ffab5
updating pull request to use return code to determine to assign folks
...
Signed-off-by: vsoch <vsochat@stanford.edu >
2020-03-18 14:24:24 -06:00
vsoch
c4372cd524
fixing print of return value and syntax error
...
Signed-off-by: vsoch <vsochat@stanford.edu >
2020-03-18 14:18:42 -06:00
vsoch
125f29f472
adding ability to assign people to PR
...
Signed-off-by: vsoch <vsochat@stanford.edu >
2020-03-18 14:07:00 -06:00
vsoch
e9cc2a3f41
adding maintainer can modify
...
Signed-off-by: vsoch <vsochat@stanford.edu >
2020-03-18 13:47:52 -06:00
Vanessasaurus
d987bc1511
Merge pull request #22 from vsoch/add/support-null-branch
...
Add/support null branch
1.0.2
2020-03-17 11:37:29 -06:00
vsoch
4ae1c5e25c
adding examples for push and release
...
Signed-off-by: vsoch <vsochat@stanford.edu >
2020-03-17 11:36:44 -06:00
vsoch
d0c1b9ddb0
adding PR_BRANCH_FROM to support null use case
...
Signed-off-by: vsoch <vsochat@stanford.edu >
2020-03-17 10:50:25 -06:00
Srdjan Grubor
a3c90d58a7
Fix action branch logic for pull requests
...
Without this change, `BRANCH` will be `null` for triggers that don't
have an associated branch like `release: [published]`.
Closes #20
2020-03-17 11:27:27 -05:00
vsoch
a3ee64d51c
Merge branch 'master' of github.com:vsoch/pull-request-action
2020-02-05 10:09:47 -07:00
vsoch
a46f168cf9
updating link to example
...
Signed-off-by: vsoch <vsochat@stanford.edu >
2020-02-05 10:09:33 -07:00
Vanessasaurus
02aa792cc8
Merge pull request #16 from vsoch/add/action.yml
...
adding action.yml to test
2020-02-05 10:08:38 -07:00
vsoch
d7dede2212
adding action.yml to test
...
Signed-off-by: vsoch <vsochat@stanford.edu >
2020-02-05 10:00:44 -07:00
Carl Sutton
b94f438ea0
Use alpine instead of ubuntu so the build is faster ( #14 )
2019-12-07 12:19:22 -08:00
Vanessasaurus
ca8460101c
fixing up GitHub action to work with yaml syntax ( #11 )
...
Signed-off-by: Vanessa Sochat <vsochat@stanford.edu >
2019-10-19 09:36:46 -04:00
Godfrey Chan
e54bcbb815
Quote JSON Strings ( #8 )
...
The previous approach causes problems when there are e.g. newlines in the pull
request body. Also, the `draft` parameter was previously passed as a JSON
string (`"draft": "true"` and `"draft": "false"`, as opposed to `"draft": true`
and `"draft": false`), which I suspect is just a bug.
2019-08-23 11:03:18 -04:00
Vanessasaurus
0b6c3279d5
Adding body
2019-05-21 02:06:27 -07:00
Vanessasaurus
4ffa883947
Adding more quotes, debug prints
2019-05-21 01:59:51 -07:00
Vanessa Sochat
9c31bb936c
adding quotes
...
Signed-off-by: Vanessa Sochat <vsochat@stanford.edu >
2019-05-20 19:18:03 -04:00
Benjamin Cooper
1e2916c992
Add ability to create draft PRs with env var ( #5 )
...
* initial effort to add draft PRs
Document how to use draft PR feature
* make PRs draft anytime env var is explicitly declared
* change draft PR env var name
Signed-off-by: Ben Cooper <bencooper222@gmail.com >
* document new draft env var name
* consolidate draft PR logging block
* actually remove draft pr logging
2019-05-17 17:33:39 -07:00
Vanessasaurus
820608e5d2
Merge pull request #3 from vsoch/add/title-body
...
adding title and body
2019-03-20 08:31:46 -07:00
Vanessa Sochat
6251c0a094
adding title and body
2019-03-20 10:05:38 -04:00
Vanessa Sochat
32b1a27e85
move into one function
1.0.0
1.0.1
2019-02-01 17:42:55 -05:00
Vanessa Sochat
1cbb54dfa3
more debugging
2019-02-01 17:39:21 -05:00
Vanessa Sochat
2fbc549356
show return value
2019-02-01 17:35:39 -05:00
Vanessa Sochat
249685eb2d
dont exit
2019-02-01 17:31:25 -05:00
Vanessa Sochat
7acc1c678f
adding check to see if PR already open
2019-02-01 17:20:04 -05:00
Vanessa Sochat
86a6482846
updating README
2019-02-01 16:48:44 -05:00
Vanessa Sochat
e28d29f77e
remove hub
2019-02-01 13:36:57 -05:00
Vanessa Sochat
bb0828763b
try with curl
2019-02-01 13:31:55 -05:00
Vanessa Sochat
56f51766be
try removing the username
2019-02-01 13:14:46 -05:00
Vanessa Sochat
6e218786a0
git needs to be in container
2019-02-01 13:11:33 -05:00
Vanessa Sochat
4a8b510f90
need to chdir togithub workspace
2019-02-01 13:09:00 -05:00
Vanessa Sochat
542c0cf680
try adding newlines
2019-02-01 13:02:56 -05:00
Vanessa Sochat
8913abe300
testing using hub
2019-02-01 13:02:19 -05:00
Vanessa Sochat
a5ea3d441c
curl is missing
2019-02-01 11:49:59 -05:00
Vanessa Sochat
b3aef27278
removing refs/head
2019-01-31 19:12:16 -05:00
Vanessa Sochat
5ef6651c43
missing jq
2019-01-31 19:06:19 -05:00
Vanessa Sochat
dd66c2123a
oups
2019-01-31 19:03:56 -05:00
Vanessa Sochat
47359ba4e0
oups
2019-01-31 19:01:24 -05:00
Vanessa Sochat
230b0cfb1e
adding first test
2019-01-31 18:56:56 -05:00