Skip to content

Commit ecc9e66

Browse files
committed
Add github action scripts
1 parent d0e9631 commit ecc9e66

3 files changed

Lines changed: 60 additions & 0 deletions

File tree

.github/renovate.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": ["local>reactiveui/.github:renovate"]
4+
}

.github/workflows/ci-build.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Build
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
# Needed so the reusable workflow can optionally delete the temp per-OS artifacts it creates.
10+
permissions:
11+
contents: read
12+
actions: write
13+
14+
env:
15+
productNamespacePrefix: "ReactiveUI.Binding"
16+
17+
jobs:
18+
build:
19+
uses: reactiveui/actions-common/.github/workflows/workflow-common-setup-and-build.yml@main
20+
with:
21+
configuration: Release
22+
productNamespacePrefix: "ReactiveUI.Binding"
23+
installWorkloads: true
24+
secrets:
25+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

.github/workflows/lock.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: 'Lock Threads'
2+
3+
on:
4+
schedule:
5+
- cron: '0 0 * * *'
6+
workflow_dispatch:
7+
8+
permissions:
9+
issues: write
10+
pull-requests: write
11+
12+
concurrency:
13+
group: lock
14+
15+
jobs:
16+
action:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- uses: dessant/lock-threads@v6
20+
with:
21+
github-token: ${{ github.token }}
22+
issue-inactive-days: '14'
23+
pr-inactive-days: '14'
24+
issue-comment: >
25+
This issue has been automatically locked since there
26+
has not been any recent activity after it was closed.
27+
Please open a new issue for related bugs.
28+
pr-comment: >
29+
This pull request has been automatically locked since there
30+
has not been any recent activity after it was closed.
31+
Please open a new issue for related bugs.

0 commit comments

Comments
 (0)