Skip to content

Commit

Permalink
apply PR suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
maxrake committed Dec 22, 2023
1 parent 8c8d854 commit 269e94c
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 44 deletions.
11 changes: 0 additions & 11 deletions .github/workflows/auto_updates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,10 @@ jobs:
workflow-auto-updates:
name: Update dependencies
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
- name: Checkout the repo
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

- name: Set up Node
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
with:
node-version: '*'
cache: 'npm'
cache-dependency-path: site/package-lock.json

- name: Update Docusaurus Javascript dependencies
working-directory: ./site
run: npm update --save
Expand All @@ -44,7 +34,6 @@ jobs:
if: ${{ steps.commit.outcome == 'success' }}
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
with:
# This PAT is for the `phylum-bot` account and only has the `public_repo` scope to limit privileges.
github-token: ${{ secrets.GH_RELEASE_PAT }}
script: |
const response = await github.rest.pulls.create({
Expand Down
11 changes: 0 additions & 11 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@ jobs:
Update-Documentation:
name: Update the documentation
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
- name: Checkout the repo
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
Expand All @@ -30,13 +27,6 @@ jobs:
git config user.name 'phylum-bot'
git config user.email '[email protected]'
- name: Set up Node
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
with:
node-version: '*'
cache: 'npm'
cache-dependency-path: site/package-lock.json

- name: Install local website package
working-directory: ./site
run: npm ci
Expand All @@ -49,6 +39,5 @@ jobs:
working-directory: ./site
env:
GIT_USER: 'phylum-bot'
# This PAT is for the `phylum-bot` account and only has the `public_repo` scope to limit privileges.
GIT_PASS: ${{ secrets.GH_RELEASE_PAT }}
run: npm run deploy
14 changes: 0 additions & 14 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,6 @@ on:
# Allow running this workflow manually from the Actions tab
workflow_dispatch:
pull_request:
push:
branches:
- main

defaults:
run:
shell: bash

jobs:
doc-checks:
Expand All @@ -25,13 +18,6 @@ jobs:
with:
submodules: true

- name: Set up Node
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
with:
node-version: '*'
cache: 'npm'
cache-dependency-path: site/package-lock.json

- name: Install local website package
working-directory: ./site
run: npm ci
Expand Down
2 changes: 0 additions & 2 deletions docs/knowledge_base/notifications.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Notifications

## Overview

Phylum supports notification systems using email addresses or webhooks for various platforms including Slack, Microsoft Teams, and Discord. This document guides you through setting up notifications for each of these platforms.

Notifications are a Phylum Pro feature and can be configured at the group or project level. Currently, the only trigger for notifications is [Continuous Monitoring](../knowledge_base/continuous_monitoring.md) events.
Expand Down
2 changes: 0 additions & 2 deletions docs/knowledge_base/threat_feed.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Threat Feed

## Overview

The Phylum threat feed provides a curated view into malware being released across the open source ecosystems that we monitor. Packages that appear on this feed originate from our automated risk analysis platform, before being triaged and reviewed by a team of security researchers. This produces a timely, high signal feed of threats; [packages now attributed to North Korean state actors](https://blog.phylum.io/sophisticated-ongoing-attack-discovered-on-npm/) appeared on this threat feed before publication of our research article.

> ℹ️ The threat feed is its own subscription and is not part of either Phylum Pro or Phylum Community editions.
Expand Down
7 changes: 3 additions & 4 deletions site/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,12 +167,11 @@ const config = {
markdown: {
format: 'detect',
mermaid: true,
// TODO: Progressively turn off MDXv1 compatibility
// https://docusaurus.io/docs/migration/v3#turn-off-mdx-v1-compat
// Ref: https://docusaurus.io/docs/migration/v3#turn-off-mdx-v1-compat
mdx1Compat: {
comments: true,
admonitions: true,
headingIds: true,
admonitions: false,
headingIds: false,
},
},

Expand Down

0 comments on commit 269e94c

Please sign in to comment.