summaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/release.yml20
-rw-r--r--.github/workflows/stale.yml14
2 files changed, 29 insertions, 5 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
new file mode 100644
index 0000000..9fa248c
--- /dev/null
+++ b/.github/workflows/release.yml
@@ -0,0 +1,20 @@
+name: release
+on:
+ push:
+ tags:
+ - "v*" # Push events to matching v*, i.e. v1.0, v20.15.10
+ workflow_dispatch:
+
+jobs:
+ build:
+ runs-on: rust-latest
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v4
+ - run: | # Since v2.0.0 the deb package version will have a "-1" suffix. You can disable this by adding --deb-revision="" flag or revision = "" in Cargo metadata. The default suffix is for compliance with Debian's packaging standard.
+ cargo install cargo-deb
+ cargo deb
+ - name: Release
+ uses: softprops/action-gh-release@v1
+ with:
+ files: target/debian/*.deb # /hex/target/debian/hx_0.5.0-1_amd64.deb
diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml
index cc5db07..fd05889 100644
--- a/.github/workflows/stale.yml
+++ b/.github/workflows/stale.yml
@@ -15,15 +15,19 @@ jobs:
steps:
- uses: actions/stale@v8
with:
- stale-issue-message: "This issue has been marked stale due to no recent activity."
- stale-pr-message: "This PR has been marked stale due to no recent activity."
- close-issue-message: "This issue was closed due to no activity for an extended period."
- close-pr-message: "This PR was closed due to no activity for an extended period."
+ stale-issue-message: "Issue marked stale due to no recent activity."
+ stale-issue-label: "stale"
+ exempt-issue-labels: "enhancement, help wanted, in progress, upstream"
+ stale-pr-message: "PR marked stale due to no recent activity."
+ stale-pr-label: "stale"
+ exempt-pr-labels: "enhancement, help wanted, in progress, upstream"
+ close-issue-message: "Issue closed due to lack of activity for an extended period."
+ close-pr-message: "PR closed due to lack of activity for an extended period."
days-before-issue-stale: 30
days-before-pr-stale: 45
days-before-issue-close: 5
days-before-pr-close: 10
- uses: dessant/lock-threads@v5
with:
- exclude-any-issue-labels: "help wanted, upstream, in progress"
+ exclude-any-issue-labels: "enhancement, help wanted, in progress, upstream"
process-only: "issues"