Skip to content
This repository has been archived by the owner on Sep 23, 2024. It is now read-only.

update to node 20 #57

Merged
merged 4 commits into from
Feb 29, 2024
Merged
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
3 changes: 3 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# App-Level Token w/connections:write
SLACK_APP_TOKEN=
# Bot User OAuth Token under the OAuth & Permissions sidebar
SLACK_BOT_TOKEN=
# https://github.com/settings/tokens
GITHUB_TOKEN=
# Only pushes to this repo if specified
GITHUB_REPO=
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ on:
pull_request:
# The branches below must be a subset of the branches above
branches: [ "main" ]
schedule:
- cron: '45 10 * * 5'

jobs:
analyze:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/njsscan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ on:
pull_request:
# The branches below must be a subset of the branches above
branches: [ "main" ]
schedule:
- cron: '44 8 * * 3'

permissions:
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:

send_message() {
text=$1
ok=$(curl -d "text=${{ secrets.VALIDATE_TEXT }} $text" -d "channel=${{ secrets.VALIDATE_CHANNEL }}" \
ok=$(curl -d "text=<@${{ vars.VALIDATE_BOTID }}> $text" -d "channel=${{ secrets.VALIDATE_CHANNEL }}" \
-H "Authorization: Bearer ${{ secrets.VALIDATE_TOKEN }}" \
-X POST https://slack.com/api/chat.postMessage | jq .ok)

Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
.env
.help
node_modules
4 changes: 2 additions & 2 deletions Dockerfile.example
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM node:16.20.0-slim
FROM node:20.11.1-slim

WORKDIR /usr/app
COPY --chown=node:node ./ ./
RUN mkdir ./src/.locks && chown node ./src/.locks
RUN mkdir -p ./src/.locks && chown node ./src/.locks
VOLUME /usr/app/src/.locks

RUN npm install
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

### Quickstart
* `cp .env.example .env`
* Update `.env`
* Update `.env` ⚠️
* `cp .help.example .help`
* Update `.help`
* `npm install`
Expand Down
Loading
Loading