move to forgejo actions, need to convert things still
This commit is contained in:
parent
1cc79e4f10
commit
4b60617ce3
7 changed files with 142 additions and 0 deletions
28
.forgejo/ISSUE_TEMPLATE/bug_report.md
Normal file
28
.forgejo/ISSUE_TEMPLATE/bug_report.md
Normal 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.)
|
24
.forgejo/ISSUE_TEMPLATE/feature_request.md
Normal file
24
.forgejo/ISSUE_TEMPLATE/feature_request.md
Normal 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
6
.forgejo/dependabot.yml
Normal file
|
@ -0,0 +1,6 @@
|
|||
version: 2
|
||||
updates:
|
||||
- package-ecosystem: "maven"
|
||||
directory: "/" # Location of package manifests
|
||||
schedule:
|
||||
interval: "daily"
|
7
.forgejo/pull_request_template.md
Normal file
7
.forgejo/pull_request_template.md
Normal 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)
|
32
.forgejo/workflows/analyze.yml
Normal file
32
.forgejo/workflows/analyze.yml
Normal 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
|
21
.forgejo/workflows/build.yml
Normal file
21
.forgejo/workflows/build.yml
Normal 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
|
24
.forgejo/workflows/publish.yml
Normal file
24
.forgejo/workflows/publish.yml
Normal 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'
|
Loading…
Add table
Reference in a new issue