aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorBlackDex <[email protected]>2021-06-19 19:22:19 +0200
committerBlackDex <[email protected]>2021-06-19 19:22:19 +0200
commit8615736e84f802833d0581b1d7f58e7daddc6340 (patch)
tree2071bf51da8ea406ba112def8437f78fcf5b064b /.github
parent5772836be524117085970d338631137aa2ff1f0c (diff)
downloadvaultwarden-8615736e84f802833d0581b1d7f58e7daddc6340.tar.gz
vaultwarden-8615736e84f802833d0581b1d7f58e7daddc6340.zip
Multiple Admin Interface fixes and some others.
Misc: - Fixed hadolint workflow, new git cli needs some extra arguments. - Add ignore paths to all specific on triggers. - Updated hadolint version. - Made SMTP_DEBUG read-only, since it can't be changed at runtime. Admin: - Migrated from Bootstrap v4 to v5 - Updated jquery to v3.6.0 - Updated Datatables - Made Javascript strict - Added a way to show which ENV Vars are overridden. - Changed the way to provide data for handlebars. - Fixed date/time check. - Made support string use details and summary feature of markdown/github.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml17
-rw-r--r--.github/workflows/hadolint.yml9
2 files changed, 21 insertions, 5 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 151b0d54..48b89cc1 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -2,6 +2,19 @@ name: Build
on:
push:
+ paths-ignore:
+ - "*.md"
+ - "*.txt"
+ - ".dockerignore"
+ - ".env.template"
+ - ".gitattributes"
+ - ".gitignore"
+ - "azure-pipelines.yml"
+ - "docker/**"
+ - "hooks/**"
+ - "tools/**"
+ - ".github/FUNDING.yml"
+ - ".github/ISSUE_TEMPLATE/**"
pull_request:
# Ignore when there are only changes done too one of these paths
paths-ignore:
@@ -39,13 +52,13 @@ jobs:
features: [sqlite,mysql,postgresql] # Remember to update the `cargo test` to match the amount of features
channel: nightly
os: ubuntu-18.04
- ext:
+ ext: ""
# - target-triple: x86_64-unknown-linux-gnu
# host-triple: x86_64-unknown-linux-gnu
# features: "sqlite,mysql,postgresql"
# channel: stable
# os: ubuntu-18.04
- # ext:
+ # ext: ""
name: Building ${{ matrix.channel }}-${{ matrix.target-triple }}
runs-on: ${{ matrix.os }}
diff --git a/.github/workflows/hadolint.yml b/.github/workflows/hadolint.yml
index 76ab9454..e52e5c07 100644
--- a/.github/workflows/hadolint.yml
+++ b/.github/workflows/hadolint.yml
@@ -2,6 +2,9 @@ name: Hadolint
on:
push:
+ # Ignore when there are only changes done too one of these paths
+ paths:
+ - "docker/**"
pull_request:
# Ignore when there are only changes done too one of these paths
paths:
@@ -22,14 +25,14 @@ jobs:
- name: Download hadolint
shell: bash
run: |
- sudo curl -L https://github.com/hadolint/hadolint/releases/download/v$HADOLINT_VERSION/hadolint-$(uname -s)-$(uname -m) -o /usr/local/bin/hadolint && \
+ sudo curl -L https://github.com/hadolint/hadolint/releases/download/v${HADOLINT_VERSION}/hadolint-$(uname -s)-$(uname -m) -o /usr/local/bin/hadolint && \
sudo chmod +x /usr/local/bin/hadolint
env:
- HADOLINT_VERSION: 2.3.0
+ HADOLINT_VERSION: 2.5.0
# End Download hadolint
# Test Dockerfiles
- name: Run hadolint
shell: bash
- run: git ls-files --exclude='docker/*/Dockerfile*' --ignored | xargs hadolint
+ run: git ls-files --exclude='docker/*/Dockerfile*' --ignored --cached | xargs hadolint
# End Test Dockerfiles