-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: postinstall for dependabot template-oss PR
- Loading branch information
1 parent
f923a0f
commit f40bb71
Showing
4 changed files
with
11 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -180,7 +180,7 @@ jobs: | |
run: | | ||
git commit --all --amend --no-edit || true | ||
git push --force-with-lease | ||
echo "::set-output name=sha::$(git rev-parse HEAD)" | ||
echo "sha=$(git rev-parse HEAD)" >> $GITHUB_OUTPUT | ||
- name: Get Workflow Job | ||
uses: actions/github-script@v6 | ||
if: steps.commit.outputs.sha | ||
|
@@ -261,7 +261,7 @@ jobs: | |
else | ||
result="success" | ||
fi | ||
echo "::set-output name=result::$result" | ||
echo "result=$result" >> $GITHUB_OUTPUT | ||
- name: Conclude Check | ||
uses: LouisBrunner/[email protected] | ||
if: needs.update.outputs.check-id && always() | ||
|
@@ -368,15 +368,14 @@ jobs: | |
- name: Get Needs Result | ||
id: needs-result | ||
run: | | ||
result="" | ||
if [[ "${{ contains(needs.*.result, 'failure') }}" == "true" ]]; then | ||
result="x" | ||
elif [[ "${{ contains(needs.*.result, 'cancelled') }}" == "true" ]]; then | ||
result="heavy_multiplication_x" | ||
else | ||
result="white_check_mark" | ||
fi | ||
echo "::set-output name=result::$result" | ||
echo "result=$result" >> $GITHUB_OUTPUT | ||
- name: Update Release PR Comment | ||
uses: actions/github-script@v6 | ||
env: | ||
|
@@ -397,7 +396,8 @@ jobs: | |
if (updateComment) { | ||
console.log('Found comment to update:', JSON.stringify(updateComment, null, 2)) | ||
let body = updateComment.body.replace(/Workflow run: :[a-z_]+:/, `Workflow run: :${RESULT}:`) | ||
if (RESULT === 'x') { | ||
const tagCodeowner = RESULT !== 'white_check_mark' | ||
if (tagCodeowner) { | ||
body += `\n\n:rotating_light:` | ||
body += ` @npm/cli-team: The post-release workflow failed for this release.` | ||
body += ` Manual steps may need to be taken after examining the workflow output` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,11 +4,10 @@ GitHub takes the security of our software products and services seriously, inclu | |
|
||
If you believe you have found a security vulnerability in this GitHub-owned open source repository, you can report it to us in one of two ways. | ||
|
||
If the vulnerability you have found is *not* [in scope for the GitHub Bug Bounty Program](https://bounty.github.com/#scope) or if you do not wish to be considered for a bounty reward, please report the issue to us directly using [private vulnerability reporting](https://docs.github.com/en/code-security/security-advisories/guidance-on-reporting-and-writing/privately-reporting-a-security-vulnerability). | ||
If the vulnerability you have found is *not* [in scope for the GitHub Bug Bounty Program](https://bounty.github.com/#scope) or if you do not wish to be considered for a bounty reward, please report the issue to us directly through [[email protected]](mailto:opensource-security@github.com). | ||
|
||
If the vulnerability you have found is [in scope for the GitHub Bug Bounty Program](https://bounty.github.com/#scope) and you would like for your finding to be considered for a bounty reward, please submit the vulnerability to us through [HackerOne](https://hackerone.com/github) in order to be eligible to receive a bounty award. | ||
|
||
**Please do not report security vulnerabilities through public GitHub issues, discussions, or pull requests.** | ||
|
||
Thanks for helping make GitHub safe for everyone. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters