Skip to content

Commit

Permalink
ci: align shared .github
Browse files Browse the repository at this point in the history
  • Loading branch information
pinglin committed Sep 3, 2023
1 parent c9616e0 commit 66115d4
Show file tree
Hide file tree
Showing 13 changed files with 39 additions and 259 deletions.
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1 +1 @@
* @pinglin @phelan164 @xiaofei-du
* @TobiaszCudnik @heiruwu @pinglin
133 changes: 0 additions & 133 deletions .github/CODE_OF_CONDUCT.md

This file was deleted.

16 changes: 0 additions & 16 deletions .github/CONTRIBUTING.md

This file was deleted.

7 changes: 0 additions & 7 deletions .github/PULL_REQUEST_TEMPLATE.md

This file was deleted.

3 changes: 0 additions & 3 deletions .github/SECURITY.md

This file was deleted.

2 changes: 2 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
base:
- "**"
2 changes: 0 additions & 2 deletions .github/semantic.yml

This file was deleted.

91 changes: 0 additions & 91 deletions .github/workflows/add-issue-to-prj.yml

This file was deleted.

13 changes: 13 additions & 0 deletions .github/workflows/add-label-to-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Add PR to Project

on:
pull_request_target:
types:
- opened
- synchronize

jobs:
triage:
uses: instill-ai/.github/.github/add-label-to-pr.yml@main
secrets:
botGitHubToken: ${{ secrets.botGitHubToken }}
4 changes: 2 additions & 2 deletions .github/workflows/add-pr-to-prj.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ on:

jobs:
track_pr:
uses: instill-ai/meta/.github/workflows/add-pr-to-prj.yml@main
uses: instill-ai/.github/.github/add-pr-to-prj.yml@main
with:
PROJECT_NUMBER: 5 # Versatile Data Pipeline (VDP) project
project_number: 5
secrets:
botGitHubToken: ${{ secrets.botGitHubToken }}
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Lint
name: Lint Codebase
on:
push:
paths:
Expand All @@ -19,7 +19,7 @@ jobs:
- name: Set up Go 1.20
uses: actions/setup-go@v4
with:
go-version: '1.20'
go-version: "1.20"

- name: Check out code
uses: actions/checkout@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/releases.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: GoReleaser
name: Go Releaser

on:
push:
Expand All @@ -17,7 +17,7 @@ jobs:
- name: Set up Go 1.20
uses: actions/setup-go@v4
with:
go-version: '1.20'
go-version: "1.20"

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v4
Expand Down
17 changes: 17 additions & 0 deletions .github/workflows/semantic.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Lint PR

on:
pull_request_target:
types:
- opened
- edited
- synchronize

jobs:
main:
name: Validate PR title
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v4
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 66115d4

Please sign in to comment.