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
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: monthly
53 changes: 53 additions & 0 deletions .github/workflows/github-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: Create GitHub Release

on:
push:
tags:
- "v*" # Trigger when a version tag is pushed (e.g., v1.0.0)

jobs:
create-release:
# Snapshot tags are never releases.
if: ${{ !endsWith(github.ref_name, '-SNAPSHOT') }}
runs-on: ubuntu-latest

permissions:
contents: write

steps:
- name: Checkout Code
uses: actions/checkout@v6

# The release notes are the version's section of the changelog. A
# prerelease usually has no section of its own yet, so it gets the
# unreleased one. If neither has anything, fall back to GitHub's
# generated notes rather than publish an empty release.
- name: Extract the release notes from the changelog
id: notes
run: |
extract() {
awk -v heading="$1" '
/^## / { if (found) exit; found = ($2 == heading); next }
found { print }
' CHANGELOG.md
}
extract "${GITHUB_REF_NAME#v}" > release-notes.md
if ! grep -q '[^[:space:]]' release-notes.md; then
extract master > release-notes.md
fi
if grep -q '[^[:space:]]' release-notes.md; then
echo "found=true" >> "$GITHUB_OUTPUT"
else
echo "::warning::No changelog section for $GITHUB_REF_NAME, using generated notes instead."
echo "found=false" >> "$GITHUB_OUTPUT"
fi

- name: Create GitHub Release
uses: ncipollo/release-action@v1
with:
tag: ${{ github.ref_name }}
name: CIDER ${{ github.ref_name }}
prerelease: ${{ contains(github.ref, '-rc') || contains(github.ref, '-alpha') || contains(github.ref, '-beta') }}
bodyFile: ${{ steps.notes.outputs.found == 'true' && 'release-notes.md' || '' }}
generateReleaseNotes: ${{ steps.notes.outputs.found != 'true' }}
token: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v9
- uses: actions/stale@v11
with:
days-before-issue-stale: 90
days-before-issue-close: 30
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ jobs:
java-version: ${{matrix.java_version}}

- name: Install Clojure Tools
uses: DeLaGuardo/setup-clojure@13.5.2
uses: DeLaGuardo/setup-clojure@13.7.0
with:
bb: '1.12.214'
cli: '1.12.4.1597'
Expand Down
Loading