|
72 | 72 | with:
|
73 | 73 | result-encoding: string
|
74 | 74 | script: |
|
75 |
| - const { repo: { owner, repo}, runId, serverUrl } = context |
| 75 | + const { repo: { owner, repo}, runId, serverUrl } = context |
76 | 76 | const { JOB_NAME, SHA } = process.env
|
77 | 77 |
|
78 | 78 | const job = await github.rest.actions.listJobsForWorkflowRun({
|
@@ -146,7 +146,7 @@ runs:
|
146 | 146 | MATCH=$SPEC
|
147 | 147 | echo "Found compatible version: npm@$MATCH"
|
148 | 148 | break
|
149 |
| - fi |
| 149 | + fi |
150 | 150 | done
|
151 | 151 |
|
152 | 152 | if [ -z $MATCH ]; then
|
@@ -725,7 +725,7 @@ jobs:
|
725 | 725 | id: flags
|
726 | 726 | run: |
|
727 | 727 | dependabot_dir="\${{ steps.metadata.outputs.directory }}"
|
728 |
| - if [[ "$dependabot_dir" == "/" ]]; then |
| 728 | + if [[ "$dependabot_dir" == "/" || "$dependabot_dir" == "/main" ]]; then |
729 | 729 | echo "workspace=-iwr" >> $GITHUB_OUTPUT
|
730 | 730 | else
|
731 | 731 | # strip leading slash from directory so it works as a
|
@@ -1414,7 +1414,7 @@ SECURITY.md
|
1414 | 1414 |
|
1415 | 1415 | GitHub takes the security of our software products and services seriously, including the open source code repositories managed through our GitHub organizations, such as [GitHub](https://github.com/GitHub).
|
1416 | 1416 |
|
1417 |
| -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. |
| 1417 | +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. |
1418 | 1418 |
|
1419 | 1419 | 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 [opensource-security@github.com](mailto:opensource-security@github.com).
|
1420 | 1420 |
|
@@ -1512,7 +1512,7 @@ runs:
|
1512 | 1512 | with:
|
1513 | 1513 | result-encoding: string
|
1514 | 1514 | script: |
|
1515 |
| - const { repo: { owner, repo}, runId, serverUrl } = context |
| 1515 | + const { repo: { owner, repo}, runId, serverUrl } = context |
1516 | 1516 | const { JOB_NAME, SHA } = process.env
|
1517 | 1517 |
|
1518 | 1518 | const job = await github.rest.actions.listJobsForWorkflowRun({
|
@@ -1586,7 +1586,7 @@ runs:
|
1586 | 1586 | MATCH=$SPEC
|
1587 | 1587 | echo "Found compatible version: npm@$MATCH"
|
1588 | 1588 | break
|
1589 |
| - fi |
| 1589 | + fi |
1590 | 1590 | done
|
1591 | 1591 |
|
1592 | 1592 | if [ -z $MATCH ]; then
|
@@ -2383,7 +2383,7 @@ jobs:
|
2383 | 2383 | id: flags
|
2384 | 2384 | run: |
|
2385 | 2385 | dependabot_dir="\${{ steps.metadata.outputs.directory }}"
|
2386 |
| - if [[ "$dependabot_dir" == "/" ]]; then |
| 2386 | + if [[ "$dependabot_dir" == "/" || "$dependabot_dir" == "/main" ]]; then |
2387 | 2387 | echo "workspace=-iwr" >> $GITHUB_OUTPUT
|
2388 | 2388 | else
|
2389 | 2389 | # strip leading slash from directory so it works as a
|
@@ -3099,7 +3099,7 @@ SECURITY.md
|
3099 | 3099 |
|
3100 | 3100 | GitHub takes the security of our software products and services seriously, including the open source code repositories managed through our GitHub organizations, such as [GitHub](https://github.com/GitHub).
|
3101 | 3101 |
|
3102 |
| -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. |
| 3102 | +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. |
3103 | 3103 |
|
3104 | 3104 | 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 [opensource-security@github.com](mailto:opensource-security@github.com).
|
3105 | 3105 |
|
@@ -3300,7 +3300,7 @@ runs:
|
3300 | 3300 | with:
|
3301 | 3301 | result-encoding: string
|
3302 | 3302 | script: |
|
3303 |
| - const { repo: { owner, repo}, runId, serverUrl } = context |
| 3303 | + const { repo: { owner, repo}, runId, serverUrl } = context |
3304 | 3304 | const { JOB_NAME, SHA } = process.env
|
3305 | 3305 |
|
3306 | 3306 | const job = await github.rest.actions.listJobsForWorkflowRun({
|
@@ -3374,7 +3374,7 @@ runs:
|
3374 | 3374 | MATCH=$SPEC
|
3375 | 3375 | echo "Found compatible version: npm@$MATCH"
|
3376 | 3376 | break
|
3377 |
| - fi |
| 3377 | + fi |
3378 | 3378 | done
|
3379 | 3379 |
|
3380 | 3380 | if [ -z $MATCH ]; then
|
@@ -3907,7 +3907,7 @@ jobs:
|
3907 | 3907 | id: flags
|
3908 | 3908 | run: |
|
3909 | 3909 | dependabot_dir="\${{ steps.metadata.outputs.directory }}"
|
3910 |
| - if [[ "$dependabot_dir" == "/" ]]; then |
| 3910 | + if [[ "$dependabot_dir" == "/" || "$dependabot_dir" == "/main" ]]; then |
3911 | 3911 | echo "workspace=-iwr" >> $GITHUB_OUTPUT
|
3912 | 3912 | else
|
3913 | 3913 | # strip leading slash from directory so it works as a
|
|
0 commit comments