Skip to content

Commit

Permalink
chore: @npmcli/template-oss@4.4.4
Browse files Browse the repository at this point in the history
  • Loading branch information
lukekarrys committed Oct 3, 2022
1 parent e69c07f commit 48dfdf0
Show file tree
Hide file tree
Showing 17 changed files with 74 additions and 1,249 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/post-dependabot.yml
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head_ref }}
ref: ${{ github.ref_name }}
- name: Setup Git User
run: |
git config --global user.email "npm-cli+bot@github.com"
Expand All @@ -43,10 +43,13 @@ jobs:
if: contains(steps.metadata.outputs.dependency-names, '@npmcli/template-oss')
id: flags
run: |
if [[ "${{ steps.metadata.outputs.directory }}" == "/" ]]; then
dependabot_dir="${{ steps.metadata.outputs.directory }}"
if [[ "$dependabot_dir" == "/" ]]; then
echo "::set-output name=workspace::-iwr"
else
echo "::set-output name=workspace::-w ${{ steps.metadata.outputs.directory }}"
# strip leading slash from directory so it works as a
# a path to the workspace flag
echo "::set-output name=workspace::-w ${dependabot_dir#/}"
fi
- name: Apply Changes
Expand Down Expand Up @@ -83,7 +86,7 @@ jobs:
# If the previous step failed, then reset the commit and remove any workflow changes
# and attempt to commit and push again. This is helpful because we will have a commit
# with the correct prefix that we can then --amend with @npmcli/stafftools later.
- name: Commit and push all changes except workflows
- name: Push All Changes Except Workflows
if: steps.apply.outputs.changes && steps.push-all.outcome == 'failure'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
4 changes: 2 additions & 2 deletions docs/package.json
Expand Up @@ -22,7 +22,7 @@
"@npmcli/eslint-config": "^3.1.0",
"@npmcli/fs": "^2.1.0",
"@npmcli/promise-spawn": "^3.0.0",
"@npmcli/template-oss": "4.4.2",
"@npmcli/template-oss": "4.4.4",
"cmark-gfm": "^0.9.0",
"jsdom": "^18.1.0",
"marked-man": "^0.7.0",
Expand Down Expand Up @@ -64,7 +64,7 @@
],
"ciVersions": "latest",
"engines": "^14.17.0 || ^16.13.0 || >=18.0.0",
"version": "4.4.1",
"version": "4.4.4",
"content": "../scripts/template-oss/index.js"
}
}

0 comments on commit 48dfdf0

Please sign in to comment.