diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2da0837..e661ff0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -166,7 +166,7 @@ jobs: name: ${{ env.tag }} generate_release_notes: true token: ${{ secrets.GITHUB_TOKEN }} - prerelease: ${{ endsWith(env.tag, 'rc') }} + prerelease: ${{ endsWith(env.tag, 'rc') || contains(env.tag, 'rc.') }} - name: Verify Release run: | diff --git a/dist/index.js b/dist/index.js index decfae7..0615c41 100644 --- a/dist/index.js +++ b/dist/index.js @@ -122043,7 +122043,8 @@ function createProcessTree(processTuples) { function parentAction(node) { if (node?.isAction) { - return node + // return node + return parentAction(node.parent) || node } if (node?.parent) { return parentAction(node.parent) @@ -123405,7 +123406,7 @@ module.exports = { /***/ 49554: /***/ ((module) => { -const releaseVersion = 'v1.7.0-rc' +const releaseVersion = 'v1.7.0-rc.1' module.exports = { releaseVersion diff --git a/src/audit_summary.js b/src/audit_summary.js index 3f4f579..044fbcf 100644 --- a/src/audit_summary.js +++ b/src/audit_summary.js @@ -48,7 +48,8 @@ function createProcessTree(processTuples) { function parentAction(node) { if (node?.isAction) { - return node + // return node + return parentAction(node.parent) || node } if (node?.parent) { return parentAction(node.parent) diff --git a/src/version.js b/src/version.js index 8800e62..e5ceb53 100644 --- a/src/version.js +++ b/src/version.js @@ -1,4 +1,4 @@ -const releaseVersion = 'v1.7.0-rc' +const releaseVersion = 'v1.7.0-rc.1' module.exports = { releaseVersion