-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19 from ralphschuler/devel
Devel
- Loading branch information
Showing
9 changed files
with
132 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
- name: bug | ||
description: Something isn't working | ||
color: d73a4a | ||
- name: documentation | ||
description: Improvements or additions to documentation | ||
color: 0075ca | ||
- name: duplicate | ||
description: This issue or pull request already exists | ||
color: cfd3d7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
name: Move assigned pull requests into To do | ||
|
||
on: | ||
pull_request: | ||
types: [assigned] | ||
|
||
jobs: | ||
automate-project-columns: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: alex-page/[email protected] | ||
with: | ||
project: Backlog | ||
column: To do | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,37 @@ | ||
name: Create issues from TODOs | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
importAll: | ||
default: false | ||
required: false | ||
type: boolean | ||
description: Enable, if you want to import all TODOs. Runs on checked out branch! Only use if you're sure what you are doing. | ||
push: | ||
branches: | ||
- main | ||
issues: | ||
types: [labeled] | ||
issue_comment: | ||
types: [created] | ||
pull_request_target: | ||
types: [labeled] | ||
|
||
permissions: | ||
contents: write | ||
issues: write | ||
pull-requests: write | ||
repository-projects: read | ||
contents: read | ||
|
||
jobs: | ||
autopr: | ||
todos: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Install jq | ||
run: sudo apt-get install jq | ||
- name: Check if label was added by a collaborator | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: | | ||
is_collaborator=$(curl -s -H "Authorization: token $GITHUB_TOKEN" -H "Accept: application/vnd.github+json" \ | ||
"https://api.github.com/repos/${{ github.repository }}/collaborators/${{ github.event.sender.login }}" | jq -r '.message') | ||
- uses: actions/checkout@v3 | ||
|
||
if [ "$is_collaborator" == "Not Found" ]; then | ||
echo "Label not added by a collaborator. Skipping action." | ||
exit 78 | ||
fi | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
ref: main | ||
fetch-depth: 1 | ||
- name: AutoPR | ||
uses: irgolic/AutoPR@main | ||
env: | ||
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
base_branch: main | ||
- name: Run Issue Bot | ||
uses: derjuulsn/todo-issue@main | ||
with: | ||
blobLines: 10 | ||
blobLinesBefore: 5 | ||
caseSensitive: false | ||
reopenClosed: true | ||
keywords: 'TODO, BUG, FIXME, HACK, NOTE, REVIEW, OPTIMIZE, OPTIMISE, IDEA, QUESTION, TEMP, DEBUG, TEST' | ||
excludePattern: '^(node_modules/)' | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: Fix Spelling | ||
|
||
on: | ||
- push | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: sobolevn/misspell-fixer-action@master | ||
- uses: peter-evans/[email protected] | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
commit-message: 'Fixes by misspell-fixer' | ||
title: 'Typos fix by misspell-fixer' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
on: | ||
# The issues event below is only needed for the default (auto) mode, | ||
# you can remove it otherwise | ||
issues: | ||
types: [ assigned ] | ||
# The issue_comment event below is only needed for the ChatOps mode, | ||
# you can remove it otherwise | ||
issue_comment: | ||
types: [ created ] | ||
pull_request: | ||
types: [ closed ] | ||
|
||
jobs: | ||
create_issue_branch_job: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Create Issue Branch | ||
uses: robvanderleek/create-issue-branch@main | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
name: Move new issues into Triage | ||
|
||
on: | ||
issues: | ||
types: [opened] | ||
|
||
jobs: | ||
automate-project-columns: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: alex-page/[email protected] | ||
with: | ||
project: Backlog | ||
column: Triage | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: Sync labels | ||
on: | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- ./.github/labels.yml | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: micnncim/action-label-syncer@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
manifest: ./.github/labels.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters