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
3 changes: 3 additions & 0 deletions .github/SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# **Reporting Security Issues**

If you have found a security issue, thank you for taking the initiative to responsibly disclose your findings. To report it, contact [thapasijan171@gmail.com](mailto:thapasijan171@gmail.com). **Do not open a pull request or issue**. Thank you!
43 changes: 43 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Release

on:
push:
branches: [main]
workflow_dispatch:

permissions:
contents: write
issues: write
pull-requests: write

jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up C build tools
run: sudo apt-get update && sudo apt-get install -y build-essential

- name: Build project using Makefile
run: make

- name: Archive binary
run: |
mkdir -p release
cp bin/NotesCLI release/
tar -czvf NotesCLI.tar.gz -C release NotesCLI

- name: Create GitHub Release
uses: softprops/action-gh-release@v2
with:
tag_name: v1.0.0 # Replace with dynamic versioning if needed
name: Release v1.0.0
body: |
🛠️ Built automatically using GitHub Actions
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
files: NotesCLI.tar.gz
Loading