move to forgejo actions, need to convert things still
Some checks failed
build / build (push) Waiting to run
analyze / analyze (java) (push) Has been cancelled

This commit is contained in:
Ryan Voots 2025-05-04 11:08:07 -04:00
parent 1cc79e4f10
commit 4b60617ce3
7 changed files with 142 additions and 0 deletions

View file

@ -0,0 +1,28 @@
---
name: Bug Report
about: Report a problem with this project
title: ''
labels: ''
assignees: ''
---
### Expected Behaviour
Please provide a description of the expected behaviour.
### Actual Behavior
Please provide a description of the actual behaviour.
### Steps To Reproduce
Please provide the steps to reproduce the issue.
### Environment
Please provide relevant details of your environment:
* keycloak version
* java version
* platform (O/S, etc.)

View file

@ -0,0 +1,24 @@
---
name: Feature Request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''
---
### Desired Behaviour
Please provide a description of the desired behaviour.
### Actual Behavior
Please provide a description of the actual behaviour.
### Environment
Please provide relevant details of your environment:
* keycloak version
* java version
* platform (O/S, etc.)

6
.forgejo/dependabot.yml Normal file
View file

@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "maven"
directory: "/" # Location of package manifests
schedule:
interval: "daily"

View file

@ -0,0 +1,7 @@
### Description
Please provide a description that details the content of the pull request.
Please also indicate whether any issues are fixed.
Fixes # (issue)

View file

@ -0,0 +1,32 @@
name: analyze
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
schedule:
- cron: '24 21 * * 6'
jobs:
analyze:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
language: [ 'java' ]
permissions:
actions: read
contents: read
security-events: write
steps:
- name: checkout repository
uses: actions/checkout@v2
- name: initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: ${{ matrix.language }}
- name: autobuild
uses: github/codeql-action/autobuild@v1
- name: perform CodeQL analysis
uses: github/codeql-action/analyze@v1

View file

@ -0,0 +1,21 @@
name: build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout repository
uses: actions/checkout@v2
- name: set up java
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'adopt'
- name: build with maven
run: mvn --batch-mode --file pom.xml package

View file

@ -0,0 +1,24 @@
name: publish
on:
release:
types: [created]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout repository
uses: actions/checkout@v2
- name: set up java
uses: actions/setup-java@v1
with:
java-version: '11'
- name: build with maven
run: mvn --batch-mode --file pom.xml package
- name: upload to release
uses: skx/github-action-publish-binaries@master
env:
GITHUB_TOKEN: ${{ github.token }}
with:
args: 'bundle/target/*.ear'