Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps-dev): bump the stylelint group with 3 updates #23

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
version: 2
updates:
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "daily"
groups:
eslint:
patterns:
- "eslint*"
esbuild:
patterns:
- "esbuild*"
stylelint:
patterns:
- "stylelint*"
patternfly:
patterns:
- "@patternfly*"
48 changes: 48 additions & 0 deletions .github/workflows/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: Dependabot update node-modules
on:
pull_request_target:
types: [opened, reopened, synchronize]

jobs:
dependabot:
environment: npm-update
permissions:
contents: read
pull-requests: write
timeout-minutes: 5
# 22.04's podman has issues with piping and causes tar errors
runs-on: ubuntu-20.04
if: ${{ github.actor == 'dependabot[bot]' }}

steps:
- name: Clone repository
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
fetch-depth: 0

- name: Update node-modules for package.json changes
run: |
make tools/node-modules
git config --global user.name "GitHub Workflow"
git config --global user.email "[email protected]"
mkdir -p ~/.config/cockpit-dev
echo ${{ github.token }} >> ~/.config/cockpit-dev/github-token
eval $(ssh-agent)
ssh-add - <<< '${{ secrets.NODE_CACHE_DEPLOY_KEY }}'
GITHUB_BASE=jelly ./tools/node-modules install
GITHUB_BASE=jelly ./tools/node-modules push
git add node_modules
ssh-add -D
ssh-agent -k

- name: Force push the change to trigger testing workflows
run: |
sleep 1 # make sure the timestamp changes
git commit --amend --no-edit node_modules
eval $(ssh-agent)
ssh-add - <<< '${{ secrets.SELF_DEPLOY_KEY }}'
git push --force '[email protected]:${{ github.repository }}' '${{ github.head_ref }}'
ssh-add -D
ssh-agent -k
2 changes: 1 addition & 1 deletion node_modules
50 changes: 25 additions & 25 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,31 +15,31 @@
"stylelint:fix": "stylelint --fix src/*{.css,scss}"
},
"devDependencies": {
"argparse": "^2.0.1",
"chrome-remote-interface": "^0.32.1",
"esbuild": "^0.19.1",
"esbuild-plugin-copy": "^2.0.2",
"esbuild-plugin-replace": "^1.3.0",
"esbuild-sass-plugin": "^2.10.0",
"esbuild-wasm": "^0.19.1",
"eslint": "^8.45.0",
"eslint-config-standard": "^17.0.0",
"eslint-config-standard-jsx": "^11.0.0",
"eslint-config-standard-react": "^13.0.0",
"eslint-plugin-flowtype": "^8.0.3",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"gettext-parser": "^3.0.0",
"htmlparser": "^1.7.7",
"jed": "^1.1.1",
"sass": "^1.59.3",
"sizzle": "^2.3.3",
"stylelint": "^14.9.1",
"stylelint-config-standard-scss": "^5.0.0",
"stylelint-formatter-pretty": "^3.1.1"
"argparse": "2.0.1",
"chrome-remote-interface": "0.32.1",
"esbuild": "0.19.1",
"esbuild-plugin-copy": "2.0.2",
"esbuild-plugin-replace": "1.3.0",
"esbuild-sass-plugin": "2.15.0",
"esbuild-wasm": "0.19.1",
"eslint": "8.45.0",
"eslint-config-standard": "17.0.0",
"eslint-config-standard-jsx": "11.0.0",
"eslint-config-standard-react": "13.0.0",
"eslint-plugin-flowtype": "8.0.3",
"eslint-plugin-import": "2.27.5",
"eslint-plugin-jsx-a11y": "6.7.1",
"eslint-plugin-promise": "6.1.1",
"eslint-plugin-react": "7.32.2",
"eslint-plugin-react-hooks": "4.6.0",
"gettext-parser": "3.0.0",
"htmlparser": "1.7.7",
"jed": "1.1.1",
"sass": "1.59.3",
"sizzle": "2.3.3",
"stylelint": "15.10.3",
"stylelint-config-standard-scss": "11.0.0",
"stylelint-formatter-pretty": "3.2.1"
},
"dependencies": {
"@patternfly/patternfly": "5.0.4",
Expand Down