Skip to content

Commit

Permalink
Merge pull request #18 from jitesoft/develop
Browse files Browse the repository at this point in the history
Added github actions!
  • Loading branch information
Johannestegner authored Nov 7, 2019
2 parents 2b4b0b8 + dd54521 commit 942cd06
Show file tree
Hide file tree
Showing 7 changed files with 103 additions and 11 deletions.
14 changes: 14 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
tests:
- tests/*.js
code-style:
- ./**/*.eslint*
build:
- ./**/*.babel*
- webpack.config.js
docs:
- README.md
source:
- src/*.js
package-updates:
- package.json
- package-lock.json
31 changes: 31 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
template: |
## Changes
$CHANGES
---
Thanks to the contributors:
$CONTRIBUTORS
tag-template: "$NEXT_PATCH_VERSION"

categories:
- title: 'Features:'
labels:
- 'feature'
- 'enhancement'
- title: 'Bug Fixes:'
labels:
- 'fix'
- 'bugfix'
- 'bug'
- title: 'Security:'
labels:
- security
- sec
- vulnerability
- vuln

exclude-labels:
- 'dependencies'
11 changes: 0 additions & 11 deletions .github/stale.yml

This file was deleted.

15 changes: 15 additions & 0 deletions .github/workflows/greetings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Greetings
on: [pull_request, issues]
jobs:
greeting:
runs-on: ubuntu-latest
steps:
- uses: actions/first-interaction@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
issue-message: >
Hi and thank you for submitting an issue to this repository!
This seems to be your first interaction with this repository, so we just wanted to give you a warm welcome!
pr-message: >
Hi and thank you for submitting a Pull Request to this repository!
This seems to be your first interaction with this repository, so we just wanted to give you a warm welcome!
10 changes: 10 additions & 0 deletions .github/workflows/label.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: Labeler
on: [pull_request]

jobs:
label:
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v2
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
12 changes: 12 additions & 0 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Release Management
on:
push:
branches:
- master
jobs:
update_draft_release:
runs-on: ubuntu-latest
steps:
- uses: toolmantim/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
21 changes: 21 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Mark stale issues and pull requests
on:
schedule:
- cron: "0 0 * * *"
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
stale-pr-message: >
This pull request has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
stale-issue-label: 'stale'
stale-pr-label: 'stale'

0 comments on commit 942cd06

Please sign in to comment.