Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
49 changes: 49 additions & 0 deletions .github/workflows/fork-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: "Fork Build"

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
schedule:
- cron: '20 9 * * 2'

jobs:
build:
name: Build
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [ 'java' ]

steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Maven
uses: stCarolas/setup-maven@d6af6abeda15e98926a57b5aa970a96bb37f97d1 # v5
with:
maven-version: 3.9.9
- name: Setup Java JDK
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '21'

- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}

- name: Build with Maven
run: mvn -B package -Pbuild-individual-bundles --file pom.xml

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
env:
CODEQL_ACTION_EXTRA_OPTIONS: '{"database":{"interpret-results":["--max-paths", 1]}}'
14 changes: 7 additions & 7 deletions .github/workflows/rebase-upstream.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
pull-requests: write
steps:
- name: Add comment with rebase instructions
uses: actions/github-script@v7
uses: actions/github-script@v8
with:
script: |
const comment = `### 🔄 Rebase on Upstream Master
Expand Down Expand Up @@ -53,7 +53,7 @@ jobs:
steps:
- name: Check if user is authorized
id: check-auth
uses: actions/github-script@v7
uses: actions/github-script@v8
with:
script: |
const author_association = context.payload.comment.author_association;
Expand All @@ -73,7 +73,7 @@ jobs:

- name: Add rocket reaction to acknowledge command
if: steps.check-auth.outputs.result == 'true'
uses: actions/github-script@v7
uses: actions/github-script@v8
with:
script: |
github.rest.reactions.createForIssueComment({
Expand All @@ -86,7 +86,7 @@ jobs:
- name: Get PR branch information
if: steps.check-auth.outputs.result == 'true'
id: pr-info
uses: actions/github-script@v7
uses: actions/github-script@v8
with:
script: |
const { data: pr } = await github.rest.pulls.get({
Expand Down Expand Up @@ -197,7 +197,7 @@ jobs:

- name: Add success comment and reaction
if: steps.check-auth.outputs.result == 'true' && steps.rebase.outputs.rebase_failed != 'true' && steps.push.outputs.push_failed != 'true'
uses: actions/github-script@v7
uses: actions/github-script@v8
with:
script: |
await github.rest.reactions.createForIssueComment({
Expand All @@ -216,7 +216,7 @@ jobs:

- name: Add rebase failure comment and reaction
if: steps.check-auth.outputs.result == 'true' && failure() && steps.rebase.outputs.rebase_failed == 'true'
uses: actions/github-script@v7
uses: actions/github-script@v8
with:
script: |
await github.rest.reactions.createForIssueComment({
Expand Down Expand Up @@ -256,7 +256,7 @@ jobs:

- name: Add push failure comment and reaction
if: steps.check-auth.outputs.result == 'true' && failure() && steps.push.outputs.push_failed == 'true'
uses: actions/github-script@v7
uses: actions/github-script@v8
with:
script: |
await github.rest.reactions.createForIssueComment({
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sync-upstream.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
run: |
# Check if there are changes to commit
if ! git diff --cached --quiet; then
git commit -m "Fork-specific customizations"
git commit -m "Fork-specific CI and workflow configurations"
echo "✅ Fork-specific changes committed"
else
echo "ℹ️ No fork-specific changes to commit"
Expand Down Expand Up @@ -219,7 +219,7 @@ jobs:
run: |
# Check if there are changes to commit
if ! git diff --cached --quiet; then
git commit -m "Fork-specific customizations"
git commit -m "Fork-specific CI and workflow configurations"
echo "✅ Fork-specific changes committed"
else
echo "ℹ️ No fork-specific changes to commit"
Expand Down