Skip to content

Commit eb01523

Browse files
committed
feat: move to GitHub Actions
BREAKING CHANGE: The deployment method and configuration options have changed.
1 parent 4f8b60f commit eb01523

21 files changed

Lines changed: 4729 additions & 5377 deletions

.ci/Dockerfile

Lines changed: 0 additions & 9 deletions
This file was deleted.

.ci/build.sh

Lines changed: 0 additions & 4 deletions
This file was deleted.

.env.example

Lines changed: 0 additions & 9 deletions
This file was deleted.

.github/workflows/lock.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: 'Lock threads'
2+
3+
on:
4+
schedule:
5+
- cron: '0 0 * * *'
6+
7+
jobs:
8+
lock:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: dessant/lock-threads@v2
12+
with:
13+
github-token: ${{ github.token }}
14+
issue-lock-inactive-days: '180'

.github/workflows/release.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Create release
2+
3+
on:
4+
create:
5+
tags:
6+
- 'v*.*'
7+
8+
jobs:
9+
release:
10+
name: Release on GitHub
11+
runs-on: ubuntu-18.04
12+
if: contains(github.ref, '.')
13+
steps:
14+
- name: Create GitHub release
15+
id: create_release
16+
uses: actions/create-release@v1
17+
env:
18+
GITHUB_TOKEN: ${{ github.token }}
19+
with:
20+
tag_name: ${{ github.ref }}
21+
release_name: ${{ github.ref }}
22+
body: >
23+
Learn more about this release from the [changelog](https://github.com/dessant/lock-threads/blob/master/CHANGELOG.md#changelog).
24+
draft: true

.gitignore

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1 @@
1-
.assets/
2-
.data/
3-
.env
4-
*.pem
5-
6-
node_modules/
7-
8-
npm-debug.log
9-
yarn-debug.log
10-
yarn-error.log
11-
.yarn-integrity
1+
node_modules

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
12.13.0
1+
12.14.1

.prettierignore

Lines changed: 0 additions & 2 deletions
This file was deleted.

.travis.yml

Lines changed: 0 additions & 20 deletions
This file was deleted.

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2017-2019 Armin Sebastian
3+
Copyright (c) 2017-2020 Armin Sebastian
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

0 commit comments

Comments
 (0)