-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #21 from forged-org/feature/release-pr-action
Adding release PR action
- Loading branch information
Showing
2 changed files
with
51 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: Open a release PR | ||
on: | ||
workflow_dispatch: | ||
inputs: | ||
crate: | ||
description: Crate to release | ||
required: true | ||
type: choice | ||
options: | ||
- forged-rs | ||
- forged-cli | ||
version: | ||
description: Version to release | ||
required: true | ||
type: string | ||
|
||
jobs: | ||
make-release-pr: | ||
permissions: | ||
id-token: write # Enable OIDC | ||
pull-requests: write | ||
contents: write | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: chainguard-dev/actions/setup-gitsign@main | ||
- name: Install cargo-release | ||
uses: taiki-e/install-action@v1 | ||
with: | ||
tool: cargo-release | ||
|
||
- uses: cargo-bins/release-pr@v2 | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
version: ${{ inputs.version }} | ||
crate-name: ${{ inputs.crate }} |
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,15 @@ | ||
# Changelog | ||
|
||
All notable changes to this project will be documented in this file. | ||
|
||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | ||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
|
||
## Unreleased | ||
|
||
### Added | ||
* `forged-cli download` can now be used to program a device without an active run. | ||
* You can optionally specify which chip to flash and which firmware to flash as well. | ||
|
||
### Changed | ||
* [update] The CLI has been updated to utilize the newer GraphQL API |