-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: bump @npmcli/template-oss from 4.6.1 to 4.7.1 (#126)
* chore: bump @npmcli/template-oss from 4.6.1 to 4.7.1 Bumps [@npmcli/template-oss](https://github.com/npm/template-oss) from 4.6.1 to 4.7.1. - [Release notes](https://github.com/npm/template-oss/releases) - [Changelog](https://github.com/npm/template-oss/blob/main/CHANGELOG.md) - [Commits](npm/template-oss@v4.6.1...v4.7.1) --- updated-dependencies: - dependency-name: "@npmcli/template-oss" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * chore!: postinstall for dependabot template-oss PR * chore: postinstall for @npmcli/template-oss Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: npm CLI robot <[email protected]> Co-authored-by: nlf <[email protected]>
- Loading branch information
1 parent
1bfadcb
commit ca789f3
Showing
4 changed files
with
22 additions
and
15 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,12 @@ | |
name: CI - Release | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
ref: | ||
required: true | ||
type: string | ||
default: main | ||
workflow_call: | ||
inputs: | ||
ref: | ||
|
@@ -23,7 +29,7 @@ jobs: | |
steps: | ||
- name: Get Workflow Job | ||
uses: actions/github-script@v6 | ||
|
||
if: inputs.check-sha | ||
id: check-output | ||
env: | ||
JOB_NAME: "Lint All" | ||
|
@@ -57,7 +63,7 @@ jobs: | |
- name: Create Check | ||
uses: LouisBrunner/[email protected] | ||
id: check | ||
|
||
if: inputs.check-sha | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
status: in_progress | ||
|
@@ -88,7 +94,7 @@ jobs: | |
run: npm run postlint --ignore-scripts | ||
- name: Conclude Check | ||
uses: LouisBrunner/[email protected] | ||
if: always() | ||
if: steps.check.outputs.check_id && always() | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
conclusion: ${{ job.status }} | ||
|
@@ -124,7 +130,7 @@ jobs: | |
steps: | ||
- name: Get Workflow Job | ||
uses: actions/github-script@v6 | ||
|
||
if: inputs.check-sha | ||
id: check-output | ||
env: | ||
JOB_NAME: "Test All" | ||
|
@@ -158,7 +164,7 @@ jobs: | |
- name: Create Check | ||
uses: LouisBrunner/[email protected] | ||
id: check | ||
|
||
if: inputs.check-sha | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
status: in_progress | ||
|
@@ -203,7 +209,7 @@ jobs: | |
run: npm test --ignore-scripts | ||
- name: Conclude Check | ||
uses: LouisBrunner/[email protected] | ||
if: always() | ||
if: steps.check.outputs.check_id && always() | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
conclusion: ${{ job.status }} | ||
|
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 |
---|---|---|
|
@@ -8,6 +8,7 @@ on: | |
branches: | ||
- main | ||
- latest | ||
- release/v* | ||
|
||
permissions: | ||
contents: write | ||
|
@@ -88,7 +89,7 @@ jobs: | |
return commentId | ||
- name: Get Workflow Job | ||
uses: actions/github-script@v6 | ||
if: steps.release.outputs.pr-number | ||
if: steps.release.outputs.pr-sha | ||
id: check-output | ||
env: | ||
JOB_NAME: "Release" | ||
|
@@ -122,7 +123,7 @@ jobs: | |
- name: Create Check | ||
uses: LouisBrunner/[email protected] | ||
id: check | ||
if: steps.release.outputs.pr-number | ||
if: steps.release.outputs.pr-sha | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
status: in_progress | ||
|
@@ -179,7 +180,7 @@ jobs: | |
echo "::set-output name=sha::$(git rev-parse HEAD)" | ||
- name: Get Workflow Job | ||
uses: actions/github-script@v6 | ||
|
||
if: steps.commit.outputs.sha | ||
id: check-output | ||
env: | ||
JOB_NAME: "Update - Release" | ||
|
@@ -213,7 +214,7 @@ jobs: | |
- name: Create Check | ||
uses: LouisBrunner/[email protected] | ||
id: check | ||
|
||
if: steps.commit.outputs.sha | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
status: in_progress | ||
|
@@ -222,7 +223,7 @@ jobs: | |
output: ${{ steps.check-output.outputs.result }} | ||
- name: Conclude Check | ||
uses: LouisBrunner/[email protected] | ||
if: always() | ||
if: needs.release.outputs.check-id && always() | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
conclusion: ${{ job.status }} | ||
|
@@ -260,7 +261,7 @@ jobs: | |
echo "::set-output name=result::$result" | ||
- name: Conclude Check | ||
uses: LouisBrunner/[email protected] | ||
if: always() | ||
if: needs.update.outputs.check-id && always() | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
conclusion: ${{ steps.needs-result.outputs.result }} | ||
|
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