Skip to content
Open
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
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @goaaats
24 changes: 24 additions & 0 deletions .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Bug Report
description: File a bug report
title: '[Bug]: '
labels: [bug, help wanted]
assignees: goaaats
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report!
- type: checkboxes
attributes:
label: Is there an existing issue for this?
description: Please search to see if an issue already exists for the bug you noticed.
options:
- label: I have searched the existing issues
required: true
- type: textarea
attributes:
label: What happened?
description: Also tell us, what did you expect to happen?
placeholder: Tell us what you see!
validations:
required: true
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: Review open issues
url: https://github.com/goaaats/KeySharp/issues
about: Please ensure you have gone through open issues.
17 changes: 17 additions & 0 deletions .github/ISSUE_TEMPLATE/feat.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Feature Request
description: Request a new feature
title: '[Feature/Idea]: '
labels: [enhancement]
assignees: goaaats
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to request a new feature!
- type: textarea
attributes:
label: What would you like to see changed/added?
description: Try to give some examples to make it really clear!
placeholder: Tell us what you would like to see! Something new and amazing!
validations:
required: true
24 changes: 24 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: gitsubmodule
directory: /
schedule:
interval: daily
reviewers: [goaaats]
rebase-strategy: auto
target-branch: master

- package-ecosystem: github-actions
# Workflow files stored in the
# default location of `.github/workflows`
directory: /
schedule:
interval: daily
reviewers: [goaaats]
rebase-strategy: auto
target-branch: master
1 change: 1 addition & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
### Changes & Notes
42 changes: 42 additions & 0 deletions .github/workflows/update-compiled-libraries.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Update compiled libraries
on:
push:
branches:
- master
paths:
- .github/workflows/update-compiled-libraries.yml
- native/**/*
workflow_dispatch:
jobs:
build:
strategy:
matrix:
include:
- os: macos-latest
runtime: osx-arm64
lib: libskeychain.dylib
- os: ubuntu-latest
runtime: linux-x64
lib: libskeychain.so
- os: windows-latest
runtime: win-x64
lib: skeychain.dll
max-parallel: 1 # to avoid conflicts during git push
fail-fast: true
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4.1.0
with:
ref: master
submodules: true
- run: cmake -DCMAKE_BUILD_TYPE=Release -S native -B native
- run: cmake --build native
# On windows, MSBuild puts dll under "debug" folder
- run: cp native/${{ matrix.os == 'windows-latest' && 'debug/skeychain.dll' || matrix.lib }} KeySharp/runtimes/${{ matrix.runtime }}/native/${{ matrix.lib }}
- if: matrix.os == 'macos-latest'
run: cp native/${{ matrix.lib }} KeySharp/runtimes/osx-x64/native/${{ matrix.lib }}
- run: git add KeySharp/runtimes
- run: git config --global user.name "github-actions[bot]"
- run: git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
- run: git commit -m "[${{ matrix.runtime == 'osx-arm64' && 'osx-arm64/osx-x64' || matrix.runtime }}] Update ${{ matrix.lib }}"
- run: git push
Loading