Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
594f3c7
Handle multiple config changes in a PR or Push event and process them…
decyjphr Oct 14, 2025
8ce7b72
build(deps): bump undici from 7.7.0 to 7.16.0 (#881)
dependabot[bot] Dec 29, 2025
e4a6ce4
build(deps): bump node-cron from 3.0.3 to 4.2.1 (#865)
dependabot[bot] Dec 29, 2025
c07a33f
build(deps): bump @apidevtools/json-schema-ref-parser (#882)
dependabot[bot] Dec 29, 2025
9592e84
build(deps): bump minimatch from 10.0.1 to 10.0.3 (#883)
dependabot[bot] Dec 29, 2025
fdb6d37
build(deps-dev): bump eslint-plugin-import from 2.31.0 to 2.32.0 (#884)
dependabot[bot] Dec 30, 2025
7362d01
ci(deps): bump docker/login-action from 3.5.0 to 3.6.0 (#885)
dependabot[bot] Dec 30, 2025
19f0949
ci(deps): bump actions/setup-node from 4 to 6 (#890)
dependabot[bot] Dec 30, 2025
ac8e1c6
build(deps): bump js-yaml in the npm_and_yarn group across 1 director…
dependabot[bot] Dec 30, 2025
6c12139
ci(deps): bump docker/metadata-action from 5.8.0 to 5.10.0 (#897)
dependabot[bot] Dec 30, 2025
a516d99
ci(deps): bump actions/checkout from 4 to 6 (#898)
dependabot[bot] Dec 30, 2025
c0de63b
ci(deps): bump docker/setup-qemu-action from 3.6.0 to 3.7.0 (#899)
dependabot[bot] Dec 30, 2025
b86aa10
build(deps): bump the npm_and_yarn group across 1 directory with 2 up…
dependabot[bot] Jan 2, 2026
a567e4e
build(deps): bump qs in the npm_and_yarn group across 1 directory (#912)
dependabot[bot] Jan 2, 2026
447021f
build(deps): bump qs in the npm_and_yarn group across 1 directory (#913)
dependabot[bot] Jan 2, 2026
802217e
build(deps): bump octokit from 5.0.3 to 5.0.5 (#905)
dependabot[bot] Feb 4, 2026
5eec970
build(deps-dev): bump smee-client from 4.3.1 to 5.0.0 (#906)
dependabot[bot] Feb 4, 2026
0bc802d
build(deps-dev): bump @eslint/eslintrc from 3.3.1 to 3.3.3 (#908)
dependabot[bot] Feb 4, 2026
423468d
ci(deps): bump docker/setup-buildx-action from 3.11.1 to 3.12.0 (#909)
dependabot[bot] Feb 4, 2026
95ee4ac
build(deps): bump undici in the npm_and_yarn group across 1 directory…
dependabot[bot] Feb 4, 2026
dcc00e7
ci(deps): bump docker/login-action from 3.6.0 to 3.7.0 (#924)
dependabot[bot] Feb 4, 2026
b2a6c96
build(deps): bump the npm_and_yarn group across 1 directory with 2 up…
dependabot[bot] Feb 4, 2026
f22d6a7
[WIP] Upgrade project to support Node.js 22 and 24 (#939)
Copilot Mar 2, 2026
1262444
Fix Dependabot CI: correct actor check from `dependabot` to `dependab…
Copilot Mar 2, 2026
eef9762
Refactor advanced CodeQL workflow steps (#941)
decyjphr Mar 3, 2026
ba3df39
Added support for proxy servers in all execution environments (#917)
tylerohlsen Mar 3, 2026
829bc8b
build(deps): bump probot from 13.4.4 to 14.2.4 (#907)
dependabot[bot] Mar 3, 2026
11f29c9
fix: prevent race conditions by creating new objects for repository c…
John15321 Mar 13, 2026
2f2229d
Change helm defaults to be more newcomer friendly (#919)
tylerohlsen Mar 16, 2026
34ce7a1
fix: add HOST=0.0.0.0 env to Dockerfile for probot v14 compatibility …
Copilot Mar 23, 2026
16feaad
fix: migrate all octokit API calls to .rest namespace for probot v14 …
Copilot Mar 23, 2026
6a8b6ae
Add HOST environment variable to Dockerfile (#950)
decyjphr Mar 23, 2026
241b5d9
docs: add troubleshooting section for Docker build and runtime issues…
decyjphr Mar 23, 2026
c718e9a
build(deps): bump undici in the npm_and_yarn group across 1 directory…
dependabot[bot] Mar 23, 2026
809dc2a
build(deps-dev): bump brace-expansion
dependabot[bot] Mar 27, 2026
5ceec1f
Merge pull request #952 from github/dependabot/npm_and_yarn/npm_and_y…
lindluni Mar 29, 2026
620a1ee
build(deps): bump proxy-from-env from 1.1.0 to 2.0.0 (#934)
dependabot[bot] Mar 30, 2026
21e8df5
ci(deps): bump docker/build-push-action from 6.18.0 to 6.19.2 (#935)
dependabot[bot] Mar 30, 2026
4124899
build(deps): bump path-to-regexp (#953)
dependabot[bot] Mar 30, 2026
74d5c44
build(deps): bump the npm_and_yarn group across 1 directory with 2 up…
dependabot[bot] Mar 30, 2026
74f6fc4
Remove non-deterministic `npm install -g npm` from devcontainer Docke…
Copilot Mar 30, 2026
13d3937
Pin Dockerfile base image to SHA256 digest (#957)
Copilot Mar 30, 2026
d326ac8
Use `npm ci` instead of `npm install` in CI workflow (#958)
Copilot Mar 31, 2026
4578aea
Replace npm install with npm ci in workflow (#960)
decyjphr Mar 31, 2026
edc9d29
Bug/issue 465 (#970)
madkoo May 7, 2026
b9afee8
Bug/issue 842 (#928)
madkoo May 7, 2026
3d61f1f
Fix custom_properties diffing when config uses `property_name` (#978)
Copilot May 12, 2026
0774803
fix(variables): add noop mode support (#926)
klutchell Jun 4, 2026
db9d78c
fix: update lodash to ^4.18.1 to fix code injection vulnerability (#992)
decyjphr Jun 5, 2026
687f13f
Merge #992: upgrade to probot 14.3.2 + migrate octokit calls to .rest.*
decyjphr Aug 10, 2026
c67ca45
Merge origin/yadhav/fix-recent-issues into probot-14.3.2 upgrade
decyjphr Aug 11, 2026
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
13 changes: 7 additions & 6 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.195.0/containers/javascript-node/.devcontainer/base.Dockerfile
# [Choice] Node.js version (use -bullseye variants on local arm64/Apple Silicon): 16, 14, 12, 16-bullseye, 14-bullseye, 12-bullseye, 16-buster, 14-buster, 12-buster
ARG VARIANT=20-bookworm
# [Choice] Node.js version/variant (use -bookworm variants on local arm64/Apple Silicon): e.g. 22-bookworm, 20-bookworm, 18-bookworm
ARG VARIANT=22-bookworm
FROM mcr.microsoft.com/devcontainers/javascript-node:1-${VARIANT}

# [Optional] Uncomment this section to install additional OS packages.
Expand All @@ -14,16 +14,17 @@ RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
# [Optional] Uncomment if you want to install more global node modules
# RUN su node -c "npm install -g <your-package-list-here>"

# Update npm
RUN npm install -g npm
# Intall aws cli
# Install aws cli
RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-$(uname -m).zip" -o "awscliv2.zip" && \
unzip awscliv2.zip && \
sudo ./aws/install && \
rm -rf ./aws && \
rm awscliv2.zip
# Install sam cli
RUN curl -L "https://github.com/aws/aws-sam-cli/releases/latest/download/aws-sam-cli-linux-$(dpkg --print-architecture).zip" -o "aws-sam-cli.zip" && \
RUN ARCH_RAW=$(uname -m) && \
ARCH=$ARCH_RAW && \
if [ "$ARCH_RAW" = "aarch64" ]; then ARCH="arm64"; fi && \
curl -L "https://github.com/aws/aws-sam-cli/releases/latest/download/aws-sam-cli-linux-${ARCH}.zip" -o "aws-sam-cli.zip" && \
unzip aws-sam-cli.zip -d sam-installation && \
sudo ./sam-installation/install && \
rm -rf ./sam-installation && \
Expand Down
8 changes: 4 additions & 4 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
"name": "Node.js",
"build": {
"dockerfile": "Dockerfile",
// Update 'VARIANT' to pick a Node version: 16, 14, 12.
// Append -bullseye or -buster to pin to an OS version.
// Use -bullseye variants on local arm64/Apple Silicon.
"args": { "VARIANT": "20-bookworm" }
// Update 'VARIANT' to pick a Node version, e.g. 22, 20, 18.
// Append -bookworm or -bullseye to pin to an OS version.
// Use -bookworm variants on local arm64/Apple Silicon.
"args": { "VARIANT": "22-bookworm" }
},

"settings": {},
Expand Down
72 changes: 72 additions & 0 deletions .github/workflows/advanced-codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL Advanced"

on:
workflow_dispatch:
push:
branches: [ "main-enterprise" ]
pull_request:
branches: [ "main-enterprise" ]


jobs:
analyze:
name: Analyze (${{ matrix.language }})
# Runner size impacts CodeQL analysis time. To learn more, please see:
# - https://gh.io/recommended-hardware-resources-for-running-codeql
# - https://gh.io/supported-runners-and-hardware-resources
# - https://gh.io/using-larger-runners (GitHub.com only)
# Consider using larger runners or machines with greater resources for possible analysis time improvements.
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
permissions:
# required for all workflows
security-events: write

# required to fetch internal or private CodeQL packs
packages: read

# only required for workflows in private repositories
actions: read
contents: read

strategy:
fail-fast: false
matrix:
include:
- language: actions
build-mode: none
- language: javascript-typescript
build-mode: none
# CodeQL supports the following values keywords for 'language': 'actions', 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'rust', 'swift'
# Use `c-cpp` to analyze code written in C, C++ or both
# Use 'java-kotlin' to analyze code written in Java, Kotlin or both
# Use 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both
# To learn more about changing the languages that are analyzed or customizing the build mode for your analysis,
# see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/customizing-your-advanced-setup-for-code-scanning.
# If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how
# your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages
steps:
- name: 'Checkout repository'
uses: actions/checkout@v4
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v4
with:
languages: ${{ matrix.language }}
build-mode: ${{ matrix.build-mode }}


- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v4
with:
category: "/language:${{matrix.language}}"
21 changes: 11 additions & 10 deletions .github/workflows/create-pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,23 +42,23 @@ jobs:
outputs:
release: ${{ steps.prerelease.outputs.release }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- name: Setup node
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version: 16.x
node-version: 22.x
cache: 'npm'
- run: npm install
- run: npm ci
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f
- name: Log in to the Container registry
uses: docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1
uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build Docker Image Locally
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83
uses: docker/build-push-action@d08e5c354a6adb9ed34480a06d141179aa583294
with:
context: .
file: ./Dockerfile
Expand All @@ -71,9 +71,10 @@ jobs:
- name: Run Functional Tests
id: functionaltest
run: |
docker run --env APP_ID=${{ secrets.APP_ID }} --env PRIVATE_KEY=${{ secrets.PRIVATE_KEY }} --env WEBHOOK_SECRET=${{ secrets.WEBHOOK_SECRET }} -d -p 3000:3000 ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:main-enterprise
CONTAINER_ID=$(docker run --env APP_ID=${{ secrets.APP_ID }} --env PRIVATE_KEY=${{ secrets.PRIVATE_KEY }} --env WEBHOOK_SECRET=${{ secrets.WEBHOOK_SECRET }} --env NODE_ENV=development -d -p 3000:3000 ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:main-enterprise)
sleep 10
curl http://localhost:3000
docker logs $CONTAINER_ID || true
curl --fail --retry 5 --retry-delay 3 --retry-connrefused http://localhost:3000
- run: echo "${{ github.ref }}"
- name: Tag a final release
id: prerelease
Expand All @@ -85,7 +86,7 @@ jobs:
commitish: ${{ github.ref }}
- name: Push Docker Image
if: ${{ success() }}
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83
uses: docker/build-push-action@d08e5c354a6adb9ed34480a06d141179aa583294
with:
context: .
file: ./Dockerfile
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,23 +20,23 @@ jobs:
outputs:
release: ${{ steps.finalrelease.outputs.release }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- name: Setup node
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version: 16.x
node-version: 22.x
cache: "npm"
- run: npm install
- run: npm ci
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f
- name: Log in to the Container registry
uses: docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1
uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build Docker Image Locally
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83
uses: docker/build-push-action@d08e5c354a6adb9ed34480a06d141179aa583294
with:
context: .
file: ./Dockerfile
Expand All @@ -59,7 +59,7 @@ jobs:
bump: final
- name: Push Docker Image
if: ${{ success() }}
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83
uses: docker/build-push-action@d08e5c354a6adb9ed34480a06d141179aa583294
with:
context: .
file: ./Dockerfile
Expand All @@ -75,7 +75,7 @@ jobs:
needs: build
steps:
- name: Clone repo
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Prepare
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-k8s.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v6
- uses: azure/login@a457da9ea143d694b1b9c7c869ebb04ebe844ef5
with:
client-id: ${{ secrets.AZURE_CLIENT_ID }}
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/node-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,19 @@ concurrency:

jobs:
test:
if: ${{ github.actor != 'dependabot'}}
if: ${{ github.actor != 'dependabot[bot]'}}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- name: Setup node
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
cache: npm
- run: npm install
- run: npm ci
- run: npm run test:unit:ci
strategy:
matrix:
node-version:
- 18
- 20
- 22
- 24
20 changes: 10 additions & 10 deletions .github/workflows/rc-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ jobs:
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- name: Use Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version: 16.x
node-version: 22.x
cache: npm
- run: npm ci
- run: npm run build --if-present
Expand Down Expand Up @@ -55,28 +55,28 @@ jobs:

steps:
- name: Check out the repo
uses: actions/checkout@v4
uses: actions/checkout@v6

- run: echo ${{ github.actor }}

- name: Log in to the Container registry
uses: docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1
uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Extract metadata
id: meta
uses: docker/metadata-action@c1e51972afc2121e065aed6d45c65596fe445f3f
uses: docker/metadata-action@c299e40c65443455700f0fdfc63efafe5b349051
with:
images: ${{ env.REGISTRY }}/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}
- name: Set up QEMU
uses: docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392
uses: docker/setup-qemu-action@c7c53464625b32c7a7e944ae62b3e17d2b600130
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f
- name: Build and push Docker image
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83
uses: docker/build-push-action@d08e5c354a6adb9ed34480a06d141179aa583294
with:
context: .
push: true
Expand All @@ -92,7 +92,7 @@ jobs:
# runs-on: ubuntu-latest
# environment: staging
# steps:
# - uses: actions/checkout@v4
# - uses: actions/checkout@v6
# - name: package to docker
# uses: ./.github/actions/publish-docker
# with:
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v20
v22
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
FROM node:20-alpine
FROM node:22-alpine@sha256:4d64b49e6c891c8fc821007cb1cdc6c0db7773110ac2c34bf2e6960adef62ed3
WORKDIR /opt/safe-settings
ENV NODE_ENV production
ENV HOST=0.0.0.0
## Set the Labels
LABEL version="1.0" \
description="Probot app which is a modified version of Settings Probot GitHub App" \
Expand Down
4 changes: 4 additions & 0 deletions app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,10 @@ default_permissions:
# https://developer.github.com/v3/apps/permissions/#permission-on-statuses
statuses: write

# Manage Actions variables.
# https://docs.github.com/en/rest/actions/variables?apiVersion=2026-03-10
actions_variables: write


# The name of the GitHub App. Defaults to the name specified in package.json
name: Safe Settings
Expand Down
3 changes: 3 additions & 0 deletions docs/deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@ This will start the container in the background and detached.
- `docker exec -it safe-settings /bin/sh`
- You will now be inside the running **Docker** container and can perform any troubleshooting needed

### Troubleshooting Docker Build and Runtime Issues
For detailed guidance on debugging Docker image builds, runtime failures, and comparing local vs. GHCR images, see [docker-debugging.md](docker-debugging.md).

## Deploy the app to AWS Lambda

### Production-Ready Template
Expand Down
Loading