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

chore: sync @snyk/fix version in CLI with release #1945

Closed
wants to merge 5 commits into from
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
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ jobs:
command: rm -rf node_modules/
- run:
name: Install only production dependencies
command: npx npm@6 install # kludge because npm@7 will invoke the lifecycle scripts (thus running prepare -> tsc) even if we use --ignore-scripts
command: npm install
environment:
NODE_ENV: production
- run:
Expand Down Expand Up @@ -238,7 +238,7 @@ jobs:
command: echo "//registry.npmjs.org/:_authToken=$env:NPM_TOKEN" >> .npmrc
- run:
name: Install dependencies (Windows)
command: npm install --ignore-scripts # ignore-scripts required because of postinstall script in snyk-resolve-deps package
command: npm install
- build_ts
- run:
name: npm version
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cli-alert.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ jobs:
env:
USER_GITHUB_TOKEN: ${{ secrets.USER_GITHUB_TOKEN }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
PD_ROUTING_KEY: ${{ secrets.PD_ROUTING_KEY }}
PD_ROUTING_KEY: ${{ secrets.PD_ROUTING_KEY }}
25 changes: 12 additions & 13 deletions .github/workflows/release-notes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,21 @@ name: Release-Notes-Preview

on:
pull_request:
branches: [ master ]
branches: [master]
issue_comment:
types: [ edited ]
types: [edited]

jobs:
preview:
runs-on: ubuntu-latest
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- run: |
git fetch --prune --unshallow --tags
- uses: snyk/release-notes-preview@v1.6.1
with:
releaseBranch: master
env:
GITHUB_PR_USERNAME: ${{ github.actor }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- run: |
git fetch --prune --unshallow --tags
- uses: snyk/release-notes-preview@v1.6.1
with:
releaseBranch: master
env:
GITHUB_PR_USERNAME: ${{ github.actor }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
"@snyk/cloud-config-parser": "^1.9.2",
"@snyk/code-client": "3.5.1",
"@snyk/dep-graph": "^1.27.1",
"@snyk/fix": "1.601.0",
"@snyk/fix": "1.0.0-monorepo",
"@snyk/gemfile": "1.2.0",
"@snyk/graphlib": "^2.1.9-patch.3",
"@snyk/inquirer": "^7.3.3-patch",
Expand Down
18 changes: 0 additions & 18 deletions scripts/prepare.sh

This file was deleted.