mirror of
https://github.com/insomniafi/insomniaid-bot.git
synced 2025-07-07 05:30:50 +00:00
Initial Commit
This commit is contained in:
20
.github/workflows/dependabot_auto-merge.yml
vendored
Normal file
20
.github/workflows/dependabot_auto-merge.yml
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
name: Dependabot Auto-Merge
|
||||
on:
|
||||
pull_request_target:
|
||||
branches: [ develop ]
|
||||
|
||||
permissions:
|
||||
pull-requests: write
|
||||
contents: write
|
||||
|
||||
jobs:
|
||||
dependabot:
|
||||
name: Dependabot Auto-Merge
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ github.actor == 'dependabot[bot]' }}
|
||||
steps:
|
||||
- name: Enable auto-merge for Dependabot PRs
|
||||
run: gh pr merge --auto --merge "$PR_URL"
|
||||
env:
|
||||
PR_URL: ${{ github.event.pull_request.html_url }}
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
22
.github/workflows/docker-build.yml
vendored
Normal file
22
.github/workflows/docker-build.yml
vendored
Normal file
@ -0,0 +1,22 @@
|
||||
name: Docker Build
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
types: [opened, synchronize, reopened, assigned, edited, ready_for_review]
|
||||
push:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
buildx:
|
||||
name: Docker Build
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Setup Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3.7.1
|
||||
id: buildx
|
||||
with:
|
||||
install: true
|
||||
- name: Build
|
||||
run: docker build . # will run buildx
|
17
.github/workflows/labeler.yml
vendored
Normal file
17
.github/workflows/labeler.yml
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
name: Labeler
|
||||
on: [pull_request]
|
||||
|
||||
jobs:
|
||||
label:
|
||||
name: Labeler
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ github.actor != 'dependabot[bot]' }}
|
||||
permissions:
|
||||
contents: read
|
||||
pull-requests: write
|
||||
|
||||
steps:
|
||||
- uses: actions/labeler@v5
|
||||
with:
|
||||
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
sync-labels: true
|
22
.github/workflows/typescript-build.yml
vendored
Normal file
22
.github/workflows/typescript-build.yml
vendored
Normal file
@ -0,0 +1,22 @@
|
||||
name: TypeScript Build
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
types: [opened, synchronize, reopened, assigned, edited, ready_for_review]
|
||||
push:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
tsc:
|
||||
name: TypeScript Build
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: install node v22
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 22
|
||||
- name: npm install
|
||||
run: npm install
|
||||
- name: tsc
|
||||
uses: icrawl/action-tsc@v1
|
Reference in New Issue
Block a user