forked from MSevey/celestia-da-node-package
-
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.
- Loading branch information
Showing
5 changed files
with
159 additions
and
0 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,15 @@ | ||
reviewers: | ||
defaults: | ||
- core | ||
groups: | ||
core: | ||
- team:core | ||
files: | ||
'.github/**': | ||
- MSevey | ||
- core | ||
options: | ||
ignore_draft: true | ||
ignored_keywords: | ||
- WIP | ||
number_of_reviewers: 3 |
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,34 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: github-actions | ||
directory: "/" | ||
schedule: | ||
interval: weekly | ||
open-pull-requests-limit: 10 | ||
labels: | ||
- T:dependencies | ||
# Group all patch updates into a single PR | ||
groups: | ||
patch-updates: | ||
applies-to: version-updates | ||
update-types: | ||
- "patch" | ||
commit-message: | ||
include: "scope" | ||
prefix: "chore" | ||
- package-ecosystem: docker | ||
directory: "/" | ||
schedule: | ||
interval: weekly | ||
open-pull-requests-limit: 10 | ||
labels: | ||
- T:dependencies | ||
# Group all patch updates into a single PR | ||
groups: | ||
patch-updates: | ||
applies-to: version-updates | ||
update-types: | ||
- "patch" | ||
commit-message: | ||
include: "scope" | ||
prefix: "chore" |
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,66 @@ | ||
name: Housekeeping | ||
|
||
on: | ||
issues: | ||
types: [opened] | ||
pull_request_target: | ||
types: [opened] | ||
|
||
jobs: | ||
issue-management: | ||
if: ${{ github.event.issue }} | ||
name: Add issues to project and add triage label | ||
uses: rollkit/.github/.github/workflows/[email protected] | ||
secrets: inherit | ||
permissions: | ||
issues: write | ||
pull-requests: write | ||
with: | ||
run-labels: true | ||
labels-to-add: "needs-triage" | ||
run-projects: true | ||
project-url: https://github.com/orgs/rollkit/projects/7 | ||
|
||
add-pr-to-project: | ||
# ignore dependabot PRs | ||
if: ${{ github.event.pull_request && github.actor != 'dependabot[bot]' }} | ||
name: Add PRs to project | ||
uses: rollkit/.github/.github/workflows/[email protected] | ||
secrets: inherit | ||
permissions: | ||
issues: write | ||
pull-requests: write | ||
with: | ||
run-projects: true | ||
project-url: https://github.com/orgs/rollkit/projects/7 | ||
|
||
auto-add-reviewer: | ||
name: Auto add reviewer to PR | ||
if: github.event.pull_request | ||
uses: rollkit/.github/.github/workflows/[email protected] | ||
secrets: inherit | ||
permissions: | ||
issues: write | ||
pull-requests: write | ||
with: | ||
run-auto-request-review: true | ||
|
||
auto-add-assignee: | ||
# ignore dependabot PRs | ||
if: ${{ github.event.pull_request && github.actor != 'dependabot[bot]' }} | ||
name: Assign issue and PR to creator | ||
runs-on: ubuntu-latest | ||
permissions: | ||
issues: write | ||
pull-requests: write | ||
steps: | ||
- name: Set pull_request url and creator login | ||
# yamllint disable rule:line-length | ||
run: | | ||
echo "PR=${{ github.event.pull_request.html_url }}" >> $GITHUB_ENV | ||
echo "CREATOR=${{ github.event.pull_request.user.login }}" >> $GITHUB_ENV | ||
# yamllint enable rule:line-length | ||
- name: Assign PR to creator | ||
run: gh pr edit ${{ env.PR }} --add-assignee ${{ env.CREATOR }} | ||
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,20 @@ | ||
name: Semantic Pull Request | ||
|
||
on: | ||
pull_request_target: | ||
types: | ||
- opened | ||
- edited | ||
- synchronize | ||
|
||
permissions: | ||
pull-requests: read | ||
|
||
jobs: | ||
main: | ||
name: conventional-commit-pr-title | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: amannn/action-semantic-pull-request@v5 | ||
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,24 @@ | ||
name: Semantic Release | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Configure Semantic Release | ||
# Work around for non npm project | ||
# REF: https://github.com/cycjimmy/semantic-release-action/issues/115#issuecomment-1817264419 | ||
run: echo '{"branches":[],"plugins":["@semantic-release/commit-analyzer","@semantic-release/release-notes-generator","@semantic-release/github"]}' > .releaserc.json | ||
- name: Create Release | ||
uses: cycjimmy/semantic-release-action@v4 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
branches: | | ||
["main"] |