-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Minor refactor to packages output * Setup semantic-release * Test release workflow * Testing release workflow from feature branch * Granting extra permissions to the injected token * Move release steps to a separate workflow * Rename CI workflow to Build * Update status badges * Remove extra line * Update semantic-release config * Testing release workflow * Revert "Testing release workflow" This reverts commit 84935b6. * Update README * Fix status badge * Disable commenting on issues and pull requests * Only push to Cachix from the default branch * Increase timeout for templates * Limit release workflow to main branch only * Add missing permissions to release workflow
- Loading branch information
Showing
8 changed files
with
5,746 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: Release | ||
|
||
on: | ||
workflow_run: | ||
workflows: [Build] | ||
types: [completed] | ||
branches: [main] | ||
|
||
concurrency: | ||
group: release | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
release: | ||
if: ${{ github.event.workflow_run.conclusion == 'success' }} | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
issues: write | ||
pull-requests: write | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
- name: Install Nix | ||
uses: DeterminateSystems/nix-installer-action@v6 | ||
- name: Install tools via Nix | ||
run: nix develop --check | ||
- name: Install dependencies | ||
run: nix develop -c npm ci | ||
- name: Run semantic-release | ||
run: nix develop -c npx semantic-release | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
.direnv | ||
.env | ||
node_modules | ||
result | ||
templates/*/flake.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
branches: [main] | ||
plugins: | ||
- "@semantic-release/commit-analyzer" | ||
- "@semantic-release/release-notes-generator" | ||
- ["@semantic-release/github", { successComment: false }] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.