Skip to content

Commit

Permalink
Merge branch 'master' into dependabot/github_actions/docker/setup-bui…
Browse files Browse the repository at this point in the history
…ldx-action-2
  • Loading branch information
carlsonp authored Feb 11, 2024
2 parents 801b1ae + aea4361 commit 9af40d1
Show file tree
Hide file tree
Showing 5 changed files with 48 additions and 25 deletions.
18 changes: 0 additions & 18 deletions .github/dependabot.yml

This file was deleted.

6 changes: 3 additions & 3 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
name: build-test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
# https://docs.github.com/en/free-pro-team@latest/actions/guides/building-and-testing-nodejs
# https://github.com/actions/setup-node/
- uses: actions/setup-node@v3
Expand All @@ -28,7 +28,7 @@ jobs:
- run: sleep 6
- run: npm test
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
Expand All @@ -43,7 +43,7 @@ jobs:
- name: Test Building Docker Image
id: docker_build
# https://github.com/docker/build-push-action
uses: docker/build-push-action@v2
uses: docker/build-push-action@v3
with:
push: false
tags: ghcr.io/carlsonp/kort:latest
Expand Down
41 changes: 41 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: "CodeQL"

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
schedule:
- cron: "55 8 * * 6"

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [ javascript ]

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
queries: +security-and-quality

- name: Autobuild
uses: github/codeql-action/autobuild@v2

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
with:
category: "/language:${{ matrix.language }}"
2 changes: 1 addition & 1 deletion .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:

steps:
- name: Checkout Code
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
# Full git history is needed to get a proper list of changed files within `super-linter`
fetch-depth: 0
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3
# https://stackoverflow.com/questions/58177786/get-the-current-pushed-tag-in-github-actions
- name: Find tag name
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
Expand Down Expand Up @@ -62,7 +62,7 @@ jobs:
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
Expand All @@ -77,7 +77,7 @@ jobs:
- name: Build and push docker
id: docker_build
# https://github.com/docker/build-push-action
uses: docker/build-push-action@v2
uses: docker/build-push-action@v3
with:
push: true
tags: ghcr.io/carlsonp/kort:latest
Expand Down

0 comments on commit 9af40d1

Please sign in to comment.