generated from ministryofjustice/hmpps-template-typescript
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* PI-2692 Initial project setup * Basic setup * Renamed project * Updated README * Set Slack channel for security notifications * Simplified integration tests * Switched to NPM WireMock dependency * Removed need for Docker for local dev and testing * Removed "start-feature" scripts and feature.env * Other minor changes to template code * Updated "Token verification is disabled" message to only log once on startup * Removed some usage of "secrets: inherit" in GitHub workflows * Enable Dependabot with auto-merge
- Loading branch information
1 parent
4fea0c8
commit 128e0cf
Showing
40 changed files
with
377 additions
and
1,024 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,4 @@ | ||
NODE_ENV=development | ||
ENVIRONMENT_NAME=dev | ||
REDIS_ENABLED=false | ||
TOKEN_VERIFICATION_ENABLED=false | ||
|
||
# Credentials for allowing user access | ||
AUTH_CODE_CLIENT_ID=hmpps-typescript-template | ||
AUTH_CODE_CLIENT_SECRET=clientsecret | ||
|
||
# Credentials for API calls | ||
CLIENT_CREDS_CLIENT_ID=hmpps-typescript-template-system | ||
CLIENT_CREDS_CLIENT_SECRET=clientsecret |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
* @ministryofjustice/probation-integration | ||
package.json | ||
package-lock.json | ||
.github/actions | ||
.github/workflows | ||
**/Dockerfile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: "npm" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" | ||
groups: | ||
minor: | ||
update-types: | ||
- "minor" | ||
- "patch" | ||
patterns: | ||
- "*" | ||
|
||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" | ||
groups: | ||
minor: | ||
update-types: | ||
- "minor" | ||
- "patch" | ||
patterns: | ||
- "*" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Automated management of Dependabot PRs | ||
name: Dependabot | ||
on: pull_request | ||
|
||
permissions: | ||
contents: write | ||
pull-requests: write | ||
|
||
jobs: | ||
dependabot: | ||
runs-on: ubuntu-latest | ||
if: github.actor == 'dependabot[bot]' | ||
steps: | ||
- uses: actions/create-github-app-token@v1 | ||
id: app-token | ||
with: | ||
app-id: ${{ secrets.BOT_APP_ID }} | ||
private-key: ${{ secrets.BOT_APP_PRIVATE_KEY }} | ||
|
||
- uses: ministryofjustice/hmpps-probation-integration-services/.github/actions/dependabot-automerge@main | ||
with: | ||
token: ${{ steps.app-token.outputs.token }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.