mirror of https://github.com/wg-easy/wg-easy
12 changed files with 19 additions and 230 deletions
@ -1,4 +1,5 @@ |
|||||
# Copyright (c) Emile Nijssen (WeeJeWel) |
# Copyright (c) Emile Nijssen (WeeJeWel) |
||||
# Founder and Codeowner of WireGuard Easy (wg-easy) |
# Founder and Codeowner of WireGuard Easy (wg-easy) |
||||
# Maintained by Philip Heiduck (pheiduck) |
# Maintained by Bernd Storath (kaaax0815) |
||||
* @pheiduck |
* @WeeJeWel |
||||
|
* @kaaax0815 |
@ -1,41 +0,0 @@ |
|||||
name: "CodeQL" |
|
||||
|
|
||||
on: |
|
||||
push: |
|
||||
branches: [ "master" ] |
|
||||
pull_request: |
|
||||
branches: [ "master" ] |
|
||||
schedule: |
|
||||
- cron: "15 0 * * *" |
|
||||
|
|
||||
jobs: |
|
||||
analyze: |
|
||||
name: Analyze |
|
||||
runs-on: ubuntu-latest |
|
||||
if: github.repository_owner == 'wg-easy' |
|
||||
permissions: |
|
||||
actions: read |
|
||||
contents: read |
|
||||
security-events: write |
|
||||
|
|
||||
strategy: |
|
||||
fail-fast: false |
|
||||
matrix: |
|
||||
language: [ 'javascript-typescript' ] |
|
||||
|
|
||||
steps: |
|
||||
- name: Checkout repository |
|
||||
uses: actions/checkout@v4 |
|
||||
|
|
||||
- name: Initialize CodeQL |
|
||||
uses: github/codeql-action/init@v3 |
|
||||
with: |
|
||||
languages: ${{ matrix.language }} |
|
||||
|
|
||||
- name: Autobuild |
|
||||
uses: github/codeql-action/autobuild@v3 |
|
||||
|
|
||||
- name: Perform CodeQL Analysis |
|
||||
uses: github/codeql-action/analyze@v3 |
|
||||
with: |
|
||||
category: "/language:${{matrix.language}}" |
|
@ -1,37 +0,0 @@ |
|||||
name: Build & Publish Development |
|
||||
|
|
||||
on: |
|
||||
workflow_dispatch: |
|
||||
|
|
||||
jobs: |
|
||||
deploy: |
|
||||
name: Build & Deploy |
|
||||
runs-on: ubuntu-latest |
|
||||
if: github.repository_owner == 'wg-easy' |
|
||||
permissions: |
|
||||
packages: write |
|
||||
contents: read |
|
||||
steps: |
|
||||
- uses: actions/checkout@v4 |
|
||||
with: |
|
||||
ref: production |
|
||||
|
|
||||
- name: Set up QEMU |
|
||||
uses: docker/setup-qemu-action@v3 |
|
||||
|
|
||||
- name: Set up Docker Buildx |
|
||||
uses: docker/setup-buildx-action@v3 |
|
||||
|
|
||||
- name: Login to GitHub Container Registry |
|
||||
uses: docker/login-action@v3 |
|
||||
with: |
|
||||
registry: ghcr.io |
|
||||
username: ${{ github.actor }} |
|
||||
password: ${{ secrets.GITHUB_TOKEN }} |
|
||||
|
|
||||
- name: Build & Publish Docker Image |
|
||||
uses: docker/build-push-action@v6 |
|
||||
with: |
|
||||
push: true |
|
||||
platforms: linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8 |
|
||||
tags: ghcr.io/wg-easy/wg-easy:development |
|
@ -1,39 +0,0 @@ |
|||||
name: Build & Publish Nightly |
|
||||
|
|
||||
on: |
|
||||
workflow_dispatch: |
|
||||
schedule: |
|
||||
- cron: "0 0 * * *" |
|
||||
|
|
||||
jobs: |
|
||||
deploy: |
|
||||
name: Build & Deploy |
|
||||
runs-on: ubuntu-latest |
|
||||
if: github.repository_owner == 'wg-easy' |
|
||||
permissions: |
|
||||
packages: write |
|
||||
contents: read |
|
||||
steps: |
|
||||
- uses: actions/checkout@v4 |
|
||||
with: |
|
||||
ref: production |
|
||||
|
|
||||
- name: Set up QEMU |
|
||||
uses: docker/setup-qemu-action@v3 |
|
||||
|
|
||||
- name: Set up Docker Buildx |
|
||||
uses: docker/setup-buildx-action@v3 |
|
||||
|
|
||||
- name: Login to GitHub Container Registry |
|
||||
uses: docker/login-action@v3 |
|
||||
with: |
|
||||
registry: ghcr.io |
|
||||
username: ${{ github.actor }} |
|
||||
password: ${{ secrets.GITHUB_TOKEN }} |
|
||||
|
|
||||
- name: Build & Publish Docker Image |
|
||||
uses: docker/build-push-action@v6 |
|
||||
with: |
|
||||
push: true |
|
||||
platforms: linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8 |
|
||||
tags: ghcr.io/wg-easy/wg-easy:nightly |
|
@ -1,40 +0,0 @@ |
|||||
name: NPM Update Bot 🤖 |
|
||||
|
|
||||
on: |
|
||||
push: |
|
||||
branches: [ "master" ] |
|
||||
schedule: |
|
||||
- cron: "0 0 * * 1" |
|
||||
|
|
||||
jobs: |
|
||||
npmupbot: |
|
||||
name: NPM Update Bot 🤖 |
|
||||
runs-on: ubuntu-latest |
|
||||
if: github.repository_owner == 'wg-easy' |
|
||||
steps: |
|
||||
- name: Checkout repository |
|
||||
uses: actions/checkout@v4 |
|
||||
with: |
|
||||
repository: wg-easy/wg-easy |
|
||||
ref: master |
|
||||
- name: Setup Node |
|
||||
uses: actions/setup-node@v4 |
|
||||
with: |
|
||||
node-version: '20' |
|
||||
check-latest: true |
|
||||
cache: 'npm' |
|
||||
|
|
||||
- name: Bot 🤖 "Updating NPM Packages..." |
|
||||
run: | |
|
||||
npm install -g --silent npm-check-updates |
|
||||
ncu -u |
|
||||
npm update |
|
||||
cd src |
|
||||
ncu -u |
|
||||
npm update |
|
||||
npm run buildcss |
|
||||
git config --global user.name 'NPM Update Bot' |
|
||||
git config --global user.email 'npmupbot@users.noreply.github.com' |
|
||||
git add . |
|
||||
git commit -am "npm: package updates" || true |
|
||||
git push |
|
@ -1,35 +0,0 @@ |
|||||
# This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time. |
|
||||
# |
|
||||
# You can adjust the behavior by modifying this file. |
|
||||
# For more information, see: |
|
||||
# https://github.com/actions/stale |
|
||||
name: Mark stale issues and pull requests |
|
||||
|
|
||||
on: |
|
||||
workflow_dispatch: |
|
||||
schedule: |
|
||||
- cron: '*/5 * * * *' |
|
||||
|
|
||||
jobs: |
|
||||
stale: |
|
||||
|
|
||||
runs-on: ubuntu-latest |
|
||||
if: github.repository_owner == 'wg-easy' |
|
||||
permissions: |
|
||||
issues: write |
|
||||
pull-requests: write |
|
||||
|
|
||||
steps: |
|
||||
- uses: actions/stale@v9 |
|
||||
with: |
|
||||
days-before-issue-stale: 30 |
|
||||
days-before-issue-close: 14 |
|
||||
stale-issue-label: "stale" |
|
||||
stale-issue-message: "This issue is stale because it has been open for 30 days with no activity." |
|
||||
close-issue-message: "This issue was closed because it has been inactive for 14 days since being marked as stale." |
|
||||
days-before-pr-stale: 30 |
|
||||
days-before-pr-close: 14 |
|
||||
stale-pr-message: "This PR is stale because it has been open for 30 days with no activity." |
|
||||
close-pr-message: "This PR was closed because it has been inactive for 14 days since being marked as stale." |
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }} |
|
||||
operations-per-run: 100 |
|
Loading…
Reference in new issue