Compare commits

..

3 Commits

Author SHA1 Message Date
Tom Hu
d9a1bbc2da Overwrite pull_request_target pr number 2021-03-29 18:11:53 -04:00
Tom Hu
fcebab03f2 Merge pull request #253 from codecov/1.3.1
Add network_filter to manifest
2021-03-16 11:43:28 -04:00
Tom Hu
7ea3ba9ac0 Add network_filter to manifest 2021-03-16 11:39:24 -04:00
6 changed files with 35 additions and 17 deletions

View File

@@ -1,43 +1,51 @@
### 1.3.0
## 1.3.2
- # Overwrites pr number for pull_request_target events
#### Features
## 1.3.1
### Fixes
- #253 Add `network_filter` to action manifest
## 1.3.0
### Features
- #252 Add "network_filter" input
### 1.2.2
## 1.2.2
#### Fixes
### Fixes
- #241 pass root_dir using proper bash arg
- #244 Overwrite the commit on pull_request* events
### 1.2.1
## 1.2.1
#### Fixes
### Fixes
- #196 Add parameters to the action.yml
### 1.2.0
## 1.2.0
#### Features
### Features
- #193 Add all the bash params
#### Fixes
### Fixes
- #193 Fixes issue with working-directory
### 1.1.1
## 1.1.1
#### Fixes
### Fixes
- #184 Add automations ensure proper builds and deployments
- #184 Fixes verbose flag
### 1.1.0
## 1.1.0
#### Features
### Features
- #110 Add "working-directory:" input
- #174 Support Xcode specificed parameters
#### Fixes
### Fixes
- #172 File is saved as text
#### Dependencies and Misc
### Dependencies and Misc
- #166 Bump requestretry from 4.1.1 to 4.1.2
- #169 Bump typescript from 4.0.5 to 4.1.2
- #178 Bump @types/jest from 26.0.15 to 26.0.19

View File

@@ -74,6 +74,9 @@ inputs:
override_tag:
description: 'Specify the git tag'
required: false
network_filter:
description: 'Used to restrict the set of git/hg files that can be matched with filenames in the coverage report. This is useful for monorepos or other setups where a full filepath may not be specified in the coverage report, and that shortened filepath may appear multiple times in a directory structure (e.g. __init__.py)'
required: false
path_to_write_report:
description: 'Write upload file to path before uploading'
required: false

3
dist/index.js vendored
View File

@@ -59636,6 +59636,9 @@ var buildExec = function () {
if (overridePr) {
execArgs.push('-P', "" + overridePr);
}
else if ("" + context.eventName == 'pull_request_target') {
execArgs.push('-P', "" + context.payload.number);
}
if (overrideTag) {
execArgs.push('-T', "" + overrideTag);
}

2
package-lock.json generated
View File

@@ -1,6 +1,6 @@
{
"name": "codecov-action",
"version": "1.3.0",
"version": "1.3.2",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@@ -1,6 +1,6 @@
{
"name": "codecov-action",
"version": "1.3.0",
"version": "1.3.2",
"description": "Upload coverage reports to Codecov from GitHub Actions",
"main": "index.js",
"scripts": {

View File

@@ -143,6 +143,10 @@ const buildExec = () => {
}
if (overridePr) {
execArgs.push('-P', `${overridePr}`);
} else if (
`${context.eventName}` == 'pull_request_target'
) {
execArgs.push('-P', `${context.payload.number}`);
}
if (overrideTag) {
execArgs.push('-T', `${overrideTag}`);