Skip to content

Commit

Permalink
housekeeping: Convert to using GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
glennawatson committed Apr 12, 2023
1 parent 246ee8d commit 1fd2b3f
Show file tree
Hide file tree
Showing 8 changed files with 219 additions and 154 deletions.
102 changes: 102 additions & 0 deletions .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
name: Bug Report
description: Create a report to help us improve
title: "[Bug]: "
labels: ["bug"]
body:
- type: markdown
attributes:
value: |
## Please note although we can't commit to any timeline, priority will be given to those who are [Contributors](https://github.com/reactiveui/ReactiveUI#contribute ) to the project.
- type: textarea
id: description
attributes:
label: Describe the bug 🐞
description: A clear and concise description of what the bug is.
value: "A bug happened!"
validations:
required: true
- type: textarea
id: reproduce-steps
attributes:
label: Step to reproduce
description: "Steps to reproduce the behavior:"
value: |
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
validations:
required: true
- type: input
id: reproduce-repository
attributes:
label: Reproduction repository
description: "Simple repository representing the bug"
placeholder: https://github.com/reactiveui/refit
value: |
https://github.com/reactiveui/refit
validations:
required: false
- type: textarea
id: expected-behavior
attributes:
label: Expected behavior
description: A clear and concise description of what you expected to happen.
value: This should happen...
validations:
required: true
- type: textarea
id: screenshots
attributes:
label: Screenshots 🖼️
description: If applicable, add screenshots to help explain your problem.
validations:
required: false
- type: dropdown
id: ide
attributes:
label: IDE
multiple: true
options:
- Visual Studio 2022
- Visual Studio 2019
- Visual Studio 2017
- Visual Studio for Mac
- Rider Windows
- Rider macOS
- Visual Studio Code
- type: input
id: operating-system
attributes:
label: Operating system
description: Windows, Linux, Mac OS...
validations:
required: false
- type: input
id: system-version
attributes:
label: Version
description: Version and distribution (if applicable)
validations:
required: false
- type: input
id: device
attributes:
label: Device
description: Device e.g. iPhone 6
validations:
required: false
- type: input
id: refit-version
attributes:
label: Refit Version
description: e.g. 15.1.1
validations:
required: false
- type: textarea
id: additional-information
attributes:
label: Additional information ℹ️
description: Add any other information about the problem here.
validations:
required: false
8 changes: 8 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
blank_issues_enabled: false
contact_links:
- name: Questions
url: https://github.com/reactiveui/refit/discussions
about: 'For general questions about Refit, ask in the GitHub discussions'
- name: Chat
url: https://www.reactiveui.net/slack
about: 'Our slack chat community invite'
37 changes: 37 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: feature request
assignees: ''

---

<!--
Please note although we can't commit to any timeline, priority will be given to those who are [Contributors](https://github.com/reactiveui/ReactiveUI#contribute ) to the project.
If this is a question please ask on [StackOverflow](https://stackoverflow.com/questions/tagged/reactiveui).
-->

**Is your feature request related to a problem? Please describe.**
<!-- A clear and concise description of what the problem is. -->



**Describe the solution you'd like**
<!-- A clear and concise description of what you want to happen. -->



**Describe alternatives you've considered**
<!-- A clear and concise description of any alternative solutions or features you've considered. -->



**Describe suggestions on how to achieve the feature**
<!-- A clear description to how to achieve the feature. -->



**Additional context**
<!-- Add any other context or screenshots about the feature request here. -->
19 changes: 19 additions & 0 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Build

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

env:
productNamespacePrefix: "Refit"

jobs:
build:
uses: reactiveui/actions-common/.github/workflows/workflow-common-setup-and-build.yml@main
with:
configuration: Release
productNamespacePrefix: "Refit"
useVisualStudioPreview: false
useMauiCheckDotNetTool: false
31 changes: 31 additions & 0 deletions .github/workflows/lock.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: 'Lock Threads'

on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:

permissions:
issues: write
pull-requests: write

concurrency:
group: lock

jobs:
action:
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@v4
with:
github-token: ${{ github.token }}
issue-inactive-days: '14'
pr-inactive-days: '14'
issue-comment: >
This issue has been automatically locked since there
has not been any recent activity after it was closed.
Please open a new issue for related bugs.
pr-comment: >
This pull request has been automatically locked since there
has not been any recent activity after it was closed.
Please open a new issue for related bugs.
22 changes: 22 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Release

on:
push:
branches: [ main ]

env:
productNamespacePrefix: "Refit"

jobs:
release:
uses: reactiveui/actions-common/.github/workflows/workflow-common-release.yml@main
with:
configuration: Release
productNamespacePrefix: "Refit"
useVisualStudioPreview: false
useMauiCheckDotNetTool: false
secrets:
SIGN_CLIENT_USER_ID: ${{ secrets.SIGN_CLIENT_USER_ID }}
SIGN_CLIENT_SECRET: ${{ secrets.SIGN_CLIENT_SECRET }}
SIGN_CLIENT_CONFIG: ${{ secrets.SIGN_CLIENT_CONFIG }}
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
6 changes: 0 additions & 6 deletions Refit.ruleset

This file was deleted.

148 changes: 0 additions & 148 deletions azure-pipelines.yml

This file was deleted.

0 comments on commit 1fd2b3f

Please sign in to comment.