Skip to content

Commit

Permalink
Updating workflows (#2184)
Browse files Browse the repository at this point in the history
- Enable dependabot for github-actions
- Build for any branch push
- codeql for any branch push; update to v3; remove schedule
  • Loading branch information
jhy authored Jul 31, 2024
1 parent 27e7d5f commit c73bad8
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
7 changes: 6 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,13 @@ updates:
schedule:
interval: weekly
ignore:
# Jetty 9.x needed for JDK8 compatibility; it still receives security updates
# Jetty 9.x needed for JDK8 compatibility; it still receives security updates. Only used in tests.
- dependency-name: "org.eclipse.jetty:jetty-server"
update-types: ["version-update:semver-major"]
- dependency-name: "org.eclipse.jetty:jetty-servlet"
update-types: ["version-update:semver-major"]

- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
2 changes: 0 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: Build
on:
push:
branches:
- master
pull_request:

jobs:
Expand Down
10 changes: 3 additions & 7 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,7 @@ name: CodeQL

on:
push:
branches:
- master
pull_request:
schedule:
- cron: '0 5 * * 3'

jobs:
codeql:
Expand All @@ -22,11 +18,11 @@ jobs:
distribution: 'temurin'
cache: 'maven'
- name: CodeQL Initialization
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
with:
languages: java
queries: +security-and-quality
- name: Autobuild
uses: github/codeql-action/autobuild@v2
uses: github/codeql-action/autobuild@v3
- name: CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3

0 comments on commit c73bad8

Please sign in to comment.